用Mac第一次使用python 的第三方包 Matplotlib,报错:Python is not installed as a framework. The Mac OS X backend will not......
解决方法:
在目录:~/.matplotlib 下创建一个文件: matplotlibrc
输入:backend:TkAgg
保存即可。
本文介绍如何在Mac上首次使用Matplotlib时遇到框架未安装的问题,并提供了解决方案:在~/.matplotlib目录下创建matplotlibrc文件并设置backend为TkAgg。
用Mac第一次使用python 的第三方包 Matplotlib,报错:Python is not installed as a framework. The Mac OS X backend will not......
解决方法:
在目录:~/.matplotlib 下创建一个文件: matplotlibrc
输入:backend:TkAgg
保存即可。
6870
1053
2831

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