WebFaction
Community site: login 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:

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

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

it installs (runs setup.py) at

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

Any ideas?

asked 16 Feb '11, 15:27

step
112
accept rate: 0%

edited 16 Feb '11, 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.

permanent link

answered 16 Feb '11, 15:37

bmeyer71 ♦♦
1.5k3613
accept rate: 33%

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:

×102
×54

question asked: 16 Feb '11, 15:27

question was seen: 4,904 times

last updated: 16 Feb '11, 15:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 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