安装matplotlib
报错:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gvyzl2ou/matplotlib/
更新pip3,然后再进行安装matplotlib即可。
pip3 install --upgrade pip
#这个更好使
sudo apt-get install python3-matplotlib
本文介绍了解决在安装matplotlib过程中遇到的错误的方法。当执行安装命令时出现错误代码1的情况,可以通过更新pip3来解决,或者直接使用包管理器进行安装。
安装matplotlib
报错:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gvyzl2ou/matplotlib/
更新pip3,然后再进行安装matplotlib即可。
pip3 install --upgrade pip
#这个更好使
sudo apt-get install python3-matplotlib
936
1327
251
2627

被折叠的 条评论
为什么被折叠?