1

Believe me or not but after searching the web for half an hour I couldn't find the answer: How to install django app (ex. django-profile) to the specific python path?

The problem is I installed it with pip but it was installed on the "global" path. I don't want it. I want it to be installed in /home/usr/Dev/lib folder where my project lives.

Could you help me? Am I missing something?

Thank you!

1
  • Yulia, I recommend you go through your previous questions and mark them answered (click the checkbox next to the post) as you've given confirmation that the answer is good on many of them. Commented Feb 24, 2011 at 21:05

2 Answers 2

2

From the author of pip himself:

Install a Python package into a different directory using pip?

PREFIX_PATH=/path/to/folder
pip install --install-option="--prefix=$PREFIX_PATH" django-profile

This would install django-profile in /path/to/folder/lib/pythonX/site-packages

Sign up to request clarification or add additional context in comments.

Comments

2

With virtualenv you can customize where the django apps and python packages are installed.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.