【发布时间】:2015-08-23 21:10:11
【问题描述】:
我不能在 virtualenv 中安装 xlrd。看起来,它失败了,因为它试图在系统 python 路径中安装:
但是:pip install -r requirements.txt 会在环境中安装一些包,然后再安装失败。
(env)[steffi]$ pip install xlrd
Collecting xlrd
Using cached xlrd-0.9.4.tar.gz
Installing collected packages: xlrd
Running setup.py install for xlrd
< .. lots a chat that is ok -->
running install_lib
creating /usr/lib/python2.7/site-packages/xlrd
error: could not create '/usr/lib/python2.7/site-packages/xlrd': Permission denied
我错过了什么吗?
【问题讨论】:
标签: python django virtualenv xlrd