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.
解决方案
最新版本matploitlib
是支持的Python 3.7
,但是这个也对我有用Python 3.8
python -m pip install -U matplotlib==3.2.0rc1
推荐阅读
- c++ - TTF_RenderText_Blend() 生成的奇怪的文本阴影?
- android - 媒体不允许主目录下载
- r - 如何在条形图中按月汇总数据总和?
- python-3.x - 通过 pip 安装 vowpalwabbit 会出现错误“目标模式不包含 % ... 目标配方失败”
- python-3.x - 消息框后的entry_focus怎么做
- python-3.x - Python 类继承 - 均值,错误:未定义均值
- c# - 如何将csv文件读入列表
- > 使用 CSVHelper
- airflow - 使用 Logstash 解析嵌套的 Apache Airflow 日志行
- calendar - FullCalendar 中的多个日历
- google-apps-script - 使用 Google Apps Script Advanced Drive API - Drive.Files.get 获取文件内容 - 或导出