Install modules with no root privilegies
Diez B. Roggisch
deets at nospam.web.de
Mon Nov 24 20:11:42 CET 2008
Philipp Pagel wrote:
> Alfons Nonell-Canals <alfons.nonell at upf.edu> wrote:
>> Install python modules in a linux computer is really easy, it is because
>> the module is a package of the distribution or because the python
>> installation is really easy. But, in both situations, you need root
>> I would like to know how to install modules only for one user, with no
>> root privilegies. Do you know if it is possible and easy.
> Yes, there is. You can choose among two strategies referred to as "home
> scheme" and "prefix scheme" in the "Installing Python Modules"
> Have a look at Section 3 "Alternate installation".
That's waaaaaaaaay much more than is actually needed, as thus each user
would end up with a different installation.
Setting the PYTHONPATH-env-variable to a user writable location allows e.g.
easy_install and friends to install into that location. And installing
virtualenv globally, everybody can create a "local"
More information about the Python-list