macbook上显示ModuleNotFoundError: No module named ‘matplotlib‘
有一天,我想学习数据可视化。然后我就按照网上的教程来在我的macbook上安装matplotlib。以下是我安装matplotlib的代码(我使用的python版本是:python3):
$ pip3 install --user matplotlib
以上代码运行完之后,终端窗口上提示我matplotlib已经安装完毕。
然后我就打开python3,输入:
import matplotlib
结果却显示:
ModuleNotFoundError: No module named 'matplotlib
原创
2021-05-14 17:44:30 ·
2050 阅读 ·
1 评论