python 安装第三方库cvxpy时遇到的wenti: Command errored out with exit status 2
ERROR: Command errored out with exit status 2: 'f:\python\python.exe' 'f:\python\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-2385mczq\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple/ -- 'numpy >= 1.15' 'scipy >= 1.1.0' 'setuptools>=40.8.0' wheel Check the logs for full command output.
这是我第一次遇到的问题。看到库名和版本信息,首先想到更新版本——但是我的版本更新后,出现了下列问题:
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
关于Microsoft Visual C++ 14.0 “Build Tools for Visual Studio”安装的问题,在这篇博客中有很好的解决方案!
https://blog.csdn.net/qq_38161040/article/details/88203864
安装后又出现了第一次遇到的问题,经搜寻后找到这样的方法:可以安装whl文件解决,方法可见此博客:
最后就解决啦,希望对大家有帮助!
- python安装第三方库遇到 ERROR: Command errored out with exit status 1:
- python2.7 安装MYSQL-python 报错:ERROR: Command errored out with exit status 1:
- 安装pycocotools报错ERROR:Command errored out with exit status 1: python setup.py egg_info Check the logs
- ubuntu18.04 python3.7 pip安装mysqlclient报错ERROR: Command errored out with exit status 1
- python安装psycopg2 报错 ERROR: Command errored out with exit status 1
- 解决python3.7安装turtle报错ERROR: Command errored out with exit status 1:
- 【宝塔面板】使用过程中遇到的问题 - ERROR: Command errored out with exit status 1解决方案
- python 利用cmd给pip升级,具体操作及问题与报错ERROR: Command errored out with exit status 1
- MAC pycharm安装pandas报错:Command errored out with exit status 1
- pip3安装出现ERROR: Command errored out with exit status 1:
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
- imgaug库安装失败:OSError: [WinError 126] 找不到指定的模块;ERROR: Command errored out with exit status 1
- 用pip下载beatifulSoup报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check th
- 求助pip install psychopy报错ERROR: Command errored out with exit status 1: python setup.py egg_info Chec
- centos7 python "pandas" ERROR: Command errored out with exit status 1
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full
- 【求助】pip上安装xgboost提示Command errored out with exit status 1
- python3用pip安装wordcloud库出现command 'x86_64-linux-gnu-gcc' failed with exit status 1
- 关于Python安装模块出现error: command 'gcc' failed with exit status 1错误的解决方法
- 关于python 安装lxml-4.1.1 报 error: command 'gcc' failed with exit status 1