在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/Python/ Mac系統(tǒng)上import matplotlib.pyplot as plt出現(xiàn)下

Mac系統(tǒng)上import matplotlib.pyplot as plt出現(xiàn)下面問(wèn)題

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. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.

matplotlib這個(gè)模塊我是通過(guò)pycharm直接安裝的,沒(méi)有裝AnaConda

回答
編輯回答
夏木

mac自帶pip,打開(kāi)終端(launchpad里搜索終端)直接pip或pip3 install matplotlib 就行了

2017年3月7日 13:42