WebFaction
Community site: login faq

I'm attempting to install django-user-accounts (http://django-user-accounts.readthedocs.org/en/latest/installation.html) into an application called erickson_prototype. I have cd'd into the webapps/erickson_prototype directory, and installed pip-2.7 using the procedure in Webfaction's docs.

The django-user-accounts documentation says I should run this command:

pip install django-user-accounts

but I have instead followed the instruction in Webfaction's docs (http://docs.webfaction.com/software/python.html#installing-packages-with-pip):

pip-X.Y install --install-option="--install-scripts=$PWD/bin" --install-option="--install-lib=$PWD/lib/pythonX.Y" package

Which I am attempting to run as follows:

pip-2.7 install --install-option="--install-scripts=$PWD/bin" --install-option="--install-lib=$PWD/lib/python2.7" django-user-accounts

Unfortunately, this is the output I get:

Downloading/unpacking django-user-accounts
  Downloading django-user-accounts-1.0b7.tar.gz
Exception:
Traceback (most recent call last):
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main
    status = self.run(options, args)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/commands/install.py", line 256, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/req.py", line 1018, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/req.py", line 1142, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/download.py", line 468, in unpack_http_url
    unpack_file(temp_location, location, content_type, link)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/util.py", line 540, in unpack_file
    untar_file(filename, location)
  File "/home/alanmoore/lib/python2.7/pip-1.2.1-py2.7.egg/pip/util.py", line 454, in untar_file
    os.makedirs(location)
  File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/tmp/pip-build/django-user-accounts'

Storing complete log in /home/alanmoore/.pip/pip.log

Am I doing something wrong here? Should I be specifying a location other than /tmp to get around the permissions issue?

asked 30 Jan '13, 09:33

Alan Moore
111
accept rate: 0%


You can install using easy_install:

easy_install-2.7 django-user-accounts
permanent link

answered 30 Jan '13, 10:31

timg ♦♦
1.3k4
accept rate: 30%

That works great! Thanks!

(30 Jan '13, 10:59) Alan Moore
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×337
×54
×4

question asked: 30 Jan '13, 09:33

question was seen: 5,533 times

last updated: 30 Jan '13, 10:59

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM