2017-05-25 46 views
1

在我的Mac上安裝smartsheet-python-sdk包時出現以下錯誤。任何人都可以給我任何指針?在Mac上安裝smartsheet-python-sdk時出錯

> dleclair-mbp:smartsheet dleclair$ sudo pip install 
> smartsheet-python-sdk 
>. 
>. 
> smartsheet-python-sdk) Collecting six>=1.9 (from 
> smartsheet-python-sdk) Downloading six-1.10.0-py2.py3-none-any.whl 
>  os.chflags(dst, st.st_flags) OSError: [Errno 1] Operation not permitted: 
> '/tmp/pip-yDYmT1-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info' 
> dleclair-mbp:smartsheet dleclair$ 

回答

1

我發現這個職位是指一個已知的問題在OS X 10.11 Python包的依賴關係,並使用「安裝 - 忽略」標誌上的PIP命令來解決它和它的工作!

link to solution post

Installing collected packages: requests, six, certifi, python-dateutil, requests-toolbelt, smartsheet-python-sdk 
Successfully installed certifi-2017.4.17 python-dateutil-2.6.0 requests-2.14.2 requests-toolbelt-0.8.0 six-1.10.0 smartsheet-python-sdk-1.2.0