Do I need to install python packages as root

python

Solution

The only package you should install as root is virtualenv :

 #pip install virtualenv

Then, you can work in a virtual environment as a normal user. It permits you to experiment without breaking everything in your system:

 $virtualenv myproject
 $cd myproject/
 $./bin/pip install boto

Problem

Possible Duplicate: What are site-packages in python and can you install/use them if you aren’t root? ``` sudo apt-get install pip creating /usr/local/lib/python2.7/dist-packages/boto error: could not create '/usr/local/lib/python2.7/dist-packages/boto': Permission denied ``` `pip install boto` modifies the packages under `/usr/local/bin` in a Ubuntu box. Is this the way its supposed to work?

Original source

Related problems