出于某种原因,在控制台中输入“parse update”时会出现以下情况。
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/parse/__main__.py", line 6, in <module>
File "/usr/local/bin/parse/main.py", line 708, in main
File "/usr/local/bin/parse/main.py", line 515, in handle_update
OSError: [Errno 13] Permission denied
有什么想法吗?
答案 0 :(得分:2)
在终端内部,使用cd到yourProjectName / CloudCode /然后输入
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo / bin / bash
这对我有用。希望它能帮助别人。
答案 1 :(得分:0)
可以使用以下方法设置SDK版本: