How to install cvxopt on on windows 10 on python 3.6

坚强是说给别人听的谎言 提交于 2019-12-20 10:45:05

问题


How do I install cvxopt on windows 10 on python 3.6?

When running

conda install cvxopt

Fetching package metadata ...........
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - cvxopt -> python 3.5*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

I apologize i am on windows...

Any ideas?


回答1:


After much trial and error, I found that we need to install both the numpy+mkl package and the appropriate cvxopt from:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Download the file, then do the following:

1) in a command line go to the downloads folder

2) pip install "numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl"

3) pip install "cvxopt-1.1.9-cp36-cp36m-win_amd64.whl"



来源:https://stackoverflow.com/questions/46009925/how-to-install-cvxopt-on-on-windows-10-on-python-3-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!