2016-05-09 11 views
5

ich einige Probleme haben, wenn dieses Paketcvxopt Installation

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

Installation
  • 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.

Können Sie mir bitte helfen?

Vielen Dank im Voraus.

Antwort

1

Wenn Sie eine Lösung für die schnelle Verwendung von CVXOPT benötigen, würde ich empfehlen, die Anaconda-Python-Distribution zu installieren.

Es ist kostenlos und hat sehr gute Funktionen für die Installation und Verwaltung von 3rd-Party-Paketen.

Download anaconda und folgen Sie den Installationsanweisungen. Dann können Sie CVXOPT mit einem Befehl wie dem folgenden installieren.

$ conda install cvxopt 

CVXOPT wird entlang Seite Numpy arbeiten.