#求会安装的大佬解决一下,怎么可以成功安装pystruct
#pystruct使用anaconda安装
#python版本3.9.13
#pip已升级23.0.1
1首先安装说明先安装conda包管理器cvxopt:conda install cvxpot结果显示The following packages are not available from currentchannels:-cvxpot(下列软件包在当前通道中不可用-cvxpot)
2然后没管cvxpot,直接安装了:pip install pystruct
(base) C:\Users\Administrator>pip install pystruct
Collecting pystruct
Using cached pystruct-0.3.2.tar.gz (5.6 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in pystruct setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
检查网络状况和你的python环境是否兼容。