Mac環境pip install
Mac環境pip install報錯,如下:
The directory '/Users/xxx/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
OSError: [Errno 1] Operation not permitted
解決方案:--user
pip install nltk --user -U
最後更新:2017-04-27 16:31:05