【发布时间】:2018-07-10 11:54:25
【问题描述】:
我尝试使用以下命令在 linux 服务器上安装 matplotlib,但它失败了……解决此问题的指南。
python -mpip install matplotlib
RuntimeError: sh ./configure failed.
Failed building wheel for subprocess32
Running setup.py clean for subprocess32
Failed to build subprocess32
cloud-init 0.7.6 requires argparse, which is not installed.
cloud-init 0.7.6 requires cheetah, which is not installed.
cloud-init 0.7.6 requires oauth, which is not installed.
cloud-init 0.7.6 requires PrettyTable, which is not installed.
cloud-init 0.7.6 requires pyserial, which is not installed.
命令“/usr/bin/python -u -c”导入设置工具, tokenize;file='/tmp/pip-install-Ex80fQ/subprocess32/setup.py';f=getattr(tokenize, 'open', open)(file) ;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" 安装 --record /tmp/pip-record-lOrC6I/install-record.txt --single-version-externally-managed --compile" 失败,错误代码 1 在 /tmp/pip-install-Ex80fQ/subprocess32/
【问题讨论】:
标签: matplotlib