【发布时间】:2017-04-10 13:08:23
【问题描述】:
copying tweepy/error.py -> build/lib/tweepy
copying tweepy/models.py -> build/lib/tweepy
copying tweepy/oauth.py -> build/lib/tweepy
copying tweepy/parsers.py -> build/lib/tweepy
copying tweepy/streaming.py -> build/lib/tweepy
copying tweepy/utils.py -> build/lib/tweepy
running install_lib
creating /Library/Python/2.7/site-packages/examples
error: could not create '/Library/Python/2.7/site-packages/examples': Permission denied
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/zq/k3pbc5v57gn07qqg7qxxnrmm0000gn/T/pip-build-R8mYNT/ tweepy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n ');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/zq/k3pbc5v57gn07qqg7qxxnrmm0000gn/T/pip-ZdPzhK-record /install-record.txt --single-version-externally-managed --compile" 失败,错误代码 1 在 /private/var/folders/zq/k3pbc5v57gn07qqg7qxxnrmm0000gn/T/pip-build-R8mYNT/tweepy/
【问题讨论】:
-
以 sudo 运行它?
标签: python pip installation tweepy