预告被拒绝

时间:2018-01-28 11:51:52

标签: python errno

在我的Mac上安装Python之后,我发现了一个错误。 按下Build命令说

[Errno 13] Permission denied
[cmd: ['/usr/local/bin/python3.5', '-u', '/Users/peter/Library/Application Support/Sublime Text 3/Packages/User/test-module.py']]
[dir: /Users/peter/Library/Application Support/Sublime Text 3/Packages/User]
[path: /Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/peter/.nexustools]

我该如何解决? 最好的问候莫滕: - )

1 个答案:

答案 0 :(得分:0)

您无法在帐户或终端中访问运行python脚本。您可以使用" sudo"或创建virtualenv https://virtualenvwrapper.readthedocs.io/en/latest/