2016-06-22 18 views
0

Ich versuche Python scipy zu installieren, weil ich es brauche, um mit einigen .mat-Dateien aus Matlab zu arbeiten. Um es zu installieren, habe ich Anaconda für Windows 64-Bit, für Python 2.7 (meine Version) heruntergeladen und führen Sie die Datei.exe.Python scipy nicht installiert

Allerdings, wenn ich import scipy.io in der Python-Befehlszeile eingeben, erhalte ich die Fehlermeldung:

ImportError: No module named scipy.io

Ich habe auch versucht scipy über die Eingabeaufforderung conda install scipy, auszuführen zu installieren, die es scheinbar

installiert
The following packages will be downloaded: 

package     |   build 
---------------------------|----------------- 
mkl-11.3.3     |    1  110.0 MB 
conda-env-2.5.0   |   py27_0   69 KB 
mkl-service-1.1.2   |   py27_1   7 KB 
numpy-1.10.4    |   py27_2   2.9 MB 
ruamel_yaml-0.11.7   |   py27_0   201 KB 
conda-4.1.2    |   py27_0   245 KB 
numexpr-2.5.2    |  np110py27_1   138 KB 
scipy-0.17.1    |  np110py27_0  11.4 MB 
scikit-learn-0.17.1  |  np110py27_1   3.5 MB 
------------------------------------------------------------ 
             Total:  128.6 MB 

The following NEW packages will be INSTALLED: 

ruamel_yaml: 0.11.7-py27_0 

The following packages will be UPDATED: 

conda:  4.0.5-py27_0  --> 4.1.2-py27_0 
conda-env: 2.4.5-py27_0  --> 2.5.0-py27_0 
mkl:   11.3.1-0   --> 11.3.3-1 
mkl-service: 1.1.2-py27_0  --> 1.1.2-py27_1 
numexpr:  2.5-np110py27_0 --> 2.5.2-np110py27_1 
numpy:  1.10.4-py27_0  --> 1.10.4-py27_2 
scikit-learn: 0.17.1-np110py27_0 --> 0.17.1-np110py27_1 
scipy:  0.17.0-np110py27_0 --> 0.17.1-np110py27_0 

Proceed ([y]/n)? y 

Zu dem ich natürlich y eingegeben.

Warum funktioniert es jetzt? Ich glaube nicht, dass ich irgendeinen Pfad in meinen erweiterten Windows-Einstellungen ändern muss, da Anaconda alles automatisch gemacht haben sollte, ist das richtig? Also was fehlt mir?

+0

Sind Sie sicher, dass Sie die richtige ausführbare Python ausführen? Was gibt dir 'python --version'? – syntonym

+0

@syntonym Python 2.7.8 – Patapunfate

+0

Entschuldigung, ich dachte Python würde Pfadinformationen ausgeben. Was "python -c" importiert sys; print (sys.executable) "' geben Sie? – syntonym

Antwort