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

问题描述 投票:-1回答:1

安装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.
python matplotlib
1个回答
0
投票

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

python -m pip install -U matplotlib==3.2.0rc1
© www.soinside.com 2019 - 2024. All rights reserved.