Python 3 在原子上 Mac

Python 3 on atom on Mac

我想 运行 我的 Python 3 在我的 Mac 上,但它只显示 2.7。

您没有为 Python 3

设置 Atom Runner

在您的 config.cson 中,您将 exception-reporting 包指向您的 Python 3 二进制文件,但您的错误是 Atom Runner 找不到它。你需要告诉 Atom Runner Python 3 住在哪里。

'runner':
  'scopes':
    'python': '/Library/Frameworks/Python.framework/Versions/3.5/bin/python3'

有关更多信息,请参阅包目录中的 Atom Runner 列表。