How to install cvxopt on on windows 10 on python 3.6

前端 未结 2 1745
天命终不由人
天命终不由人 2021-02-04 13:48

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

When running

conda install cvxopt

Fetching package metadata ...........
Solving package specificat         


        
2条回答
  •  粉色の甜心
    2021-02-04 14:44

    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"

提交回复
热议问题