Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing cvxopt

Tags:

python

cvxopt

I have some problems when installing this package

c:\users\user\appdata\local\temp\pycharm-packaging1.tmp\cvxopt\src\c\cvxopt.h(31) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory error: command C:\Users\User\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2

  • You are using pip version 7.0.1, however version 8.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

Could you help me please?

Thanks in advance.

like image 510
Jotwege Avatar asked Oct 31 '22 03:10

Jotwege


1 Answers

If you need a solution for using CVXOPT quickly, I would recommend installing the anaconda Python distribution.

It is free and has very good features for installing and managing 3rd party packages.

Download anaconda and follow the installation instructions. Then, you can install CVXOPT with a command like the following.

$ conda install cvxopt

CVXOPT will work along side numpy.

like image 172
Will Martin Avatar answered Nov 17 '22 08:11

Will Martin