安装matplotlib时出现错误。我该怎么办?

时间:2019-11-17 10:59:07

标签: python matplotlib

在安装matplotlib时出现错误。我该怎么办?

ERROR: Command errored out with exit status 1: 'c:\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize;
 sys.argv[0] = '"'"'C:\\Users\\jains\\AppData\\Local\\Temp\\pip-install-t4qri_bp\\matplotlib\\setup.py'"'"';
 __file__='"'"'C:\\Users\\jains\\AppData\\Local\\Temp\\pip-install-t4qri_bp\\matplotlib\\setup.py'"'"';
f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');
f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\jains\AppData\Local\Temp\pip-record-5_2e7bsk\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

1 个答案:

答案 0 :(得分:0)

matploitlib的最新版本支持Python 3.7,但是该版本在Python 3.8中对我也有用

python -m pip install -U matplotlib==3.2.0rc1