为什么我在那个IDLE里头导入matplotlib,结果报错了?
2条回答 默认 最新
- honestman_ 2022-08-15 13:45关注
应该是python环境问题,没有装matplotlib库导致,直接在命令行执行:
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
等待安装完成就可以了
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 2无用
应该是python环境问题,没有装matplotlib库导致,直接在命令行执行:
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
等待安装完成就可以了