您的位置:首页 > 编程语言 > Python开发

python 安装 numy matplotlib error 解决方法

2017-08-17 12:43 543 查看
Q1: pip install matplotlib error!

Cleaning up...

Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/matplotlib

Storing debug log for failure in /root/.pip/pip.log

A1:

apt-get install libfreetype6-dev libxft-dev

pip install matplotlib

Q2:pip install numpy error!

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)

A2: export LC_ALL=C
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python matplotlib numpy