python将数据生成图表的时候报了一个错。
RuntimeError**: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends.
解决方法是,在根目录下 编辑 .matplotlib下的 backend: TkAgg
保存退出就可以了。
Tags: None