1
OSError: [Errno 13] Permission denied: '/usr/share/pyshared/Django-1.4.1.egg-info'

Storing complete log in /home/lightning/.pip/pip.log
lightning@rigel5:~$ 
OS: Ubuntu 12.10 32 bit 2GB RAM

Trying to install this via tutorial returns this error.

Seth
  • 58,122
lightning
  • 643

1 Answers1

3
sudo rm -rf /usr/lib/python2.7/dist-packages/django
sudo pip install Django==1.5
Eric Carvalho
  • 54,385
  • lightning@rigel5:~$ sudo rm -rf /usr/lib/python2.7/dist-package/django lightning@rigel5:~$ sudo pip install Django==1.5 Requirement already satisfied (use --upgrade to upgrade): Django==1.5 in /usr/local/lib/python2.7/dist-packages Cleaning up... – lightning Mar 17 '13 at 21:48
  • I guess this worked.. would like to confirm before admitting victory on this one – lightning Mar 17 '13 at 21:49
  • import django print(django.get_version())

    1.5 its official. declaring victory. Eric, you da man. ty

    – lightning Mar 17 '13 at 21:53
  • I think it's properly installed. Make a test to verify if it works. – Eric Carvalho Mar 17 '13 at 21:53
  • yup it was safely imported into the interpreter and returned the correct version. Thanks again Eric. Now, to glue my hair back in ;) – lightning Mar 17 '13 at 21:55