[1]独狼-霸主 [Chromium 58.0|Ubuntu] 发表于 2017-05-03 09:55 的评论:当我在安装第6步$ cat requirements.txt --->$ pip install -r requirements.txt 时就包错我,请问这是什么错呢??
Exception:
Traceback (most recent call last):
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
ensure_dir(destdir)
File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/home/yang/pydash/pydashtest/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/yang/pydash/pydashtest/lib/python2.7/site-packages/Django-1.6.8.dist-info'
分享到微信
打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。