2017-10-31 1 views
0

Wenn ich versuche, meinen Python-Skript ich folgende FehlermeldungInstallation Matplotlib mit PIP

import matplotlib.pyplot as plt 
ModuleNotFoundError: No module named 'matplotlib' 

SO I Matplotlib mit "Pip installieren matplotlib"

Dann bekomme ich den Fehler zu installieren versucht, bekommen zu laufen

Requirement already satisfied: matplotlib in 
c:\users\harla\anaconda2\lib\site-packages 
Requirement already satisfied: numpy>=1.7.1 in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 
Requirement already satisfied: six>=1.10 in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 
Requirement already satisfied: python-dateutil in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 
Requirement already satisfied: functools32 in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 
Requirement already satisfied: pytz in c:\users\harla\anaconda2\lib\site- 
packages (from matplotlib) 
Requirement already satisfied: cycler>=0.10 in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in 
c:\users\harla\anaconda2\lib\site-packages (from matplotlib) 

Ich weiß, dass ich Anakonda installiert habe. Ich möchte Anaconda dafür nicht verwenden. Wie installiere ich die Bibliothek matplotlib?

+1

Haben Sie Ihre Umgebung "aktiviert"? – Laszlowaty

+0

scheint, als ob Sie Windows verwenden, dann überprüfen Sie mit Rad-Installation für Python-Windows –

Antwort

0

Ich löste es durch die Umgebungsvariable auf C zu entfernen: \ Benutzer \ Harla \ Anaconda2 \ Scripts_flag

Nicht sicher, ob es eine bessere Lösung ist.