Ich möchte Matplotlib unter Windows installieren. Um dies zu tun, habe ich versucht, diese Zeilen,Kann Matplotlib nicht importieren in Python 3
git clone https://github.com/matplotlib/matplotlib
cd matplotlib
py setup.py build
py setup.py install
, die ich bei this link
gefunden Aber ich denke, dass die Installation nicht erfolgreich aufgetreten. Dies ist das Ergebnis der py setup.py install
:
So noch Importen nach nicht funktioniert;
import matplotlib.pyplot as plt
import matplotlib.animation as animation
Ein Fehler sagt Ungelöster Import. Ich nehme an, das ist, weil FreeType und PNG nicht installiert wurde.
Jetzt habe ich freetype.dll gefunden und installiert, aber wo sollte ich diese Datei?
Irgendeine Idee zu diesem Problem.
Vielen Dank Ich habe WinPython installiert und es ist großartig! – Hilal