Install cvxopt

I have some problems installing this package

c: \ users \ user \ appdata \ local \ temp \ pycharm-packaging1.tmp \ cvxopt \ src \ c \ cvxopt.h (31): fatal error C1083: unable to open include file: complex.h: There is no such file error or directory: 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 with the pip install --upprade pip command.

could you help me?

Thanks in advance.

+5
source share
1 answer

If you need to use CVXOPT quickly, I would recommend installing the anaconda Python distribution.

It is free and has very good facilities for installing and managing third-party packages.

Download anaconda and follow the installation instructions. You can then install CVXOPT with the following command.

$ conda install cvxopt 

CVXOPT will run along side numpy.

+1
source

All Articles