2017-05-25 57 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