-
Notifications
You must be signed in to change notification settings - Fork 0
Pip Django provisioning error #21
Copy link
Copy link
Open
Labels
Description
I run into the following problem on a completely fresh / bootstrapped & provisioning VM:
Downloading/unpacking rsa==3.1.4 (from oauth2client>=1.3->google-api-python-client->-r requirements.txt (line 17))
Downloading rsa-3.1.4.tar.gz
Running setup.py (path:/tmp/pip_build_vagrant/rsa/setup.py) egg_info for package rsa
warning: no files found matching 'README'
Installing collected packages: Django, gunicorn, dj-database-url, python-openid, requests-oauthlib, facepy, twython, dropbox, django-tastypie, python-instagram, google-api-python-client, foursquare, mimeparse, south, python-google-places, flickr-api, tornado, python-onedrive, django-request, django-cors-headers, django-allauth, django-tastypie-swagger, vimeo, oauthlib, six, python-mimeparse, python-dateutil, oauth2client, uritemplate, poster, certifi, backports.ssl-match-hostname, pyasn1, pyasn1-modules, rsa
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 671, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 901, in move_wheel_files
pycompile=self.pycompile,
File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 215, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 205, in clobber
os.makedirs(destdir)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/django'
Storing debug log for failure in /home/vagrant/.pip/pip.log
Reactions are currently unavailable