0
我試圖安裝Django-taggit,但我得到這個錯誤回溯:Django的taggit不安裝
Exception:
Traceback (most recent call last):
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/commands/install.py", line 275, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/req.py", line 1371, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/req.py", line 655, in install
self.move_wheel_files(self.source_dir, root=root)
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/req.py", line 885, in move_wheel_files
pycompile=self.pycompile,
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/wheel.py", line 209, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/filipefr2/lib/python2.7/pip-1.5-py2.7.egg/pip/wheel.py", line 196, in clobber
os.makedirs(destsubdir)
File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/tests'
Storing debug log for failure in /home/filipefr2/.pip/pip.log
我已經嘗試過更新的setuptools:
easy_install-2.7 -U setuptools