creating /usr/local/lib/python2.7/dist-packages/bootstrap_admin
error: could not create '/usr/local/lib/python2.7/dist-packages/bootstrap_admin': Permission denied
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-QOSgzT-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-ygqRnL-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-QOSgzT-build
Storing debug log for failure in /tmp/tmpQuU5os
是不是版本的问题啊???
1
gaotongfei 2015-05-15 00:42:46 +08:00
1. 是不是网络问题, 挂vpn或者换源试试
2. 有没有用virtualenv? 用的话别忘记先`source venv/bin/activate`, 然后再'pip install xx' 3. 没用virtualenv的话, 用`sudo pip install xx` (推荐使用virtualenv) |
2
gaotongfei 2015-05-15 00:46:09 +08:00
看报错应该是没用virtualenv. 试试在命令前加sudo
|
3
Reset 2015-05-15 08:22:21 +08:00 via iPhone
显示的信息都已经提示了原因
学会看提示信息 学会提问 才能有提升 |
4
knktc 2015-05-15 09:15:26 +08:00 1
Permission denied, 权限问题呗
|
5
bravecarrot 2015-05-15 09:45:07 +08:00 via iPad 1
权限问题,sudo执行命令。
再报错地话,lz继续贴 |