我正在尝试使用官方说明安装django rest框架:http://www.django-rest-framework.org/#installation
但这就是我在终端上看到的:
Collecting djangorestframework
Using cached djangorestframework-3.3.3-py2.py3-none-any.whl
Installing collected packages: djangorestframework
Exception:
Traceback (most recent call last):
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 742, in install
**kwargs
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 831, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1032, in move_wheel_files
isolated=self.isolated,
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/wheel.py", line 346, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber
ensure_dir(destdir)
File "/home/abduaziz/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line …Run Code Online (Sandbox Code Playgroud)