树莓派安装matplotlib

1、为python3安装pyqt5:

sudo apt-get install python3-pyqt5

2、为python3安装matplotlib:
sudo apt-get install python3-matplotlib

注意:编写的py文件打开方式要选择环境Python2还是Python3

附:

命令(为python2安装matplotlib):

sudo apt-get install python-matplotlib

作者:我是你星爷
来源:CSDN
原文:https://blog.csdn.net/xqf1528399071/article/details/52248023
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(树莓派)