小编Mar*_*arc的帖子

qdldl 的构建轮子失败(安装 cvxpy 时)

无论我是使用 pip 还是从源安装,无论我使用 python2 还是 python3,我都无法安装 cvxpy。我已经尝试了四个多小时了,但仍然失败。cvxpy 或 qdldl 的 github 页面不会给我任何解决方案。我安装了导致其他错误但没有成功的软件包。任何提示表示赞赏。

\n
user@ion:~ $ sudo pip install cvxpy\n\nLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple\nCollecting cvxpy\n  Using cached https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz\n  Installing build dependencies ... done\nCollecting osqp>=0.4.1 (from cvxpy)\n  Using cached https://files.pythonhosted.org/packages/c0/90/4cf48c200a89e46bcad87e12469ee36fc03d0c3f16b703b747e8c4bf618e/osqp-0.6.2.post0.tar.gz\n  Installing build dependencies ... done\n    Complete output from command python setup.py egg_info:\n      Failed building wheel for qdldl\n    ERROR: Failed to build one or more wheels\n    Disabling LONG\n    Remove long integers for numpy compatibility. See:\n     - https://github.com/numpy/numpy/issues/5906\n     - https://github.com/ContinuumIO/anaconda-issues/issues/3823\n    You can reenable long …
Run Code Online (Sandbox Code Playgroud)

python installation pip cvxpy

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

cvxpy ×1

installation ×1

pip ×1

python ×1