如何在python 3.6的Windows 10上安装cvxopt?

运行时

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.

我很抱歉我在 window 上...

有任何想法吗?

最佳答案

经过多次试验和错误,我发现我们需要从以下位置安装numpy + mkl软件包和相应的cvxopt:

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

下载文件,然后执行以下操作:

1)在命令行中转到downloads文件夹

2)pip安装“numpy-1.13.1 + mkl-cp36-cp36m-win_amd64.whl”

3)pip安装“cvxopt-1.1.9-cp36-cp36m-win_amd64.whl”

关于anaconda - 如何在python 3.6的Windows 10上安装cvxopt,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46009925/

10-12 18:19