Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法安装cvxpy_codegen #3

Open
c6ForH66 opened this issue Jul 14, 2020 · 3 comments
Open

无法安装cvxpy_codegen #3

c6ForH66 opened this issue Jul 14, 2020 · 3 comments

Comments

@c6ForH66
Copy link

直接输pip install cvxpy_codegen提示找不到包
去github上面下载了一个安装,导入的时候报错,看了一下好像是只支持python2
请问下up是怎么在py3上面安装的

@xdedss
Copy link
Owner

xdedss commented Jul 15, 2020

readme里给的链接是支持python3的,报错如果跟cvxpy有关的话可能是版本问题,我用的cvxpy 0.4.11,1.0及以上是不能用的

install_requires=["ecos >= 2",
"cvxpy >= 0.4, <1.0",
"numpy >= 1.9",
"python >= 2.7",
"jinja2 >= 2.8",
"scipy >= 0.15"],

@c6ForH66
Copy link
Author

但是现在安装的时候卡死在Reading https://pypi.org/simple/怎么办啊

@xdedss
Copy link
Owner

xdedss commented Jul 15, 2020

应该是网络问题,可以试下换国内镜像

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants