building 'matplotlib.ft2font' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": <https://visualstudio.microsoft.com/visual-cpp-build-tools/>
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> matplotlib
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure
Lösung des Problems
Sie müssen Microsoft C++ Build Tools herunterladen und auf Ihrem System installieren, dann Workloads auswählen und die Option Desktop-Entwicklung mit C++ aktivieren. Sobald dies abgeschlossen ist, können Sie den Installationsbefehl erneut ausführen.
ODER
Sie können diese Python-Bibliothek auch von den
inoffiziellen Windows-Binärdateien für Python-Erweiterungspakete herunterladen
Screenshot herunter
Ähnliche Antwort
Keine Kommentare:
Kommentar veröffentlichen