login community faq

I've followed the instructions the docs, but I can't seem to get pip to work outside of my home directory (ie on an per webapp basis)

I tried install with the current working directory as MYAPP:

1
PYTHONPATH=$HOME/webapps/MYAPP/lib/python2.6 easy_install-2.6 --install-dir=$HOME/webapps/MYAPP/lib/pythonX.Y --script-dir=$HOME/webapps/MYAPP/bin pip

It installs fine, but when I run

1
$HOME/webapps/MYAPP/bin/pip-2.6 install package-name

it installs (runs setup.py) at

1
2
3
$HOME/bin/package-name
$HOME/lib/python2.6/package-name
$HOME/lib/python2.6/package-name.egg-info

Any ideas?

asked Feb 16 '11 at 15:27

step's gravatar image

step
12

edited Feb 16 '11 at 15:28


You need to specify the same type of options for pip that you did for easy_install. Here is link in the old forum that talks about this as well.

answered Feb 16 '11 at 15:37

bmeyer71's gravatar image

bmeyer71 ♦♦
8512310

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×64
×21

Asked: Feb 16 '11 at 15:27

Seen: 2,147 times

Last updated: Feb 16 '11 at 15:37

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited