【发布时间】:2018-05-29 19:11:27
【问题描述】:
我可以通过终端运行代码并弹出一个带有图形的 matplotlib 窗口,但不能通过 Pycharm。我得到的只是一个错误提示:
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.
我不确定如何将 Python 安装为框架或这意味着什么。我已经用谷歌搜索了,但我不想弄乱我的系统。
有人可以提供至少我应该尝试做什么或谷歌搜索的解决方案吗?
对不起,如果我缺乏一些技术语言/知识来解释这个问题。谢谢
- macOS High Sierra 10.13.1
【问题讨论】:
标签: python macos matplotlib pycharm