The Seven Year Itch.

MENU

Mac 下安装使用numpy出错解决方法

May 2, 2017 • Read: 276 • MAC,环境


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
Archives QR Code
QR Code for this page
Tipping QR Code