我对 Python 完全陌生,我想在我的学校项目中使用 matplotlib。我尝试使用 pip ( pip install matplotlib)安装它,但是我遇到了一个非常长且看起来很糟糕的错误,我不知道该怎么办...我试图升级 pip 和 setuptools,但我没有帮助。我不明白这个问题,因为我安装了例如 numpy 没有任何问题。有谁能够帮助我?
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\marci_000\\AppData\\Local\\Temp\\pip-install-6ze8b_ec\\matplotlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\marci_000\\AppData\\Local\\Temp\\pip-install-6ze8b_ec\\matplotlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\marci_000\AppData\Local\Temp\pip-install-6ze8b_ec\matplotlib\pip-egg-info'
cwd: C:\Users\marci_000\AppData\Local\Temp\pip-install-6ze8b_ec\matplotlib\
Complete output (228 lines):
================================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [3.1.1]
python: yes [3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC
v.1916 64 bit (AMD64)]]
platform: yes [win32]
OPTIONAL SUBPACKAGES …Run Code Online (Sandbox Code Playgroud)