如何在python 3.6上的windows 10上安装cvxopt

问题描述:

如何在python 3.6上的Windows 10上安装cvxopt?如何在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. 

我很抱歉,我是在windows ...

任何想法?

大量的试验和错误之后,我发现,我们需要安装numpy的+ MKL包,并从相应的cvxopt两个:

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

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

1)在命令行转到下载文件夹

2)PIP安装 “numpy的-1.13.1 + MKL-CP36-cp36m-win_amd64.whl”

3)PIP安装 “cvxopt-1.1.9-CP36-cp36m-win_amd64.whl”

+0

在步骤3)PIP安装“PIP安装 “cvxopt-1.1.9-CP36-cp36m-win_amd64.whl” 变化到:pip install“cvxopt-1.1.9-cp36-cp36m-win_amd64.whl” –