Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65664
| From | Glenn Hutchings <zondo42@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Using virtualenv to bypass sudoer issues |
| Date | 2014-02-08 10:23 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ld50j2$gr2$1@speranza.aioe.org> (permalink) |
| References | <mailman.6450.1391709846.18130.python-list@python.org> |
On 06/02/14 17:32, Jean-Michel Pichavant wrote:
> Assuming I have a debian workstation for which I don't have any sudo
> rights, in order to be able to install / remove python packages, should
> I be using virtualenv ? Is it a suited solution ?
It depends on whether you need to share the installation with anyone
else. If not, you could also install packages using:
python setup.py install --user
This will install in your home directory, in the '.local' subdirectory.
And to run any scripts that get installed, add ~/.local/bin to your PATH.
Glenn
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using virtualenv to bypass sudoer issues Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-02-06 18:32 +0100
Re: Using virtualenv to bypass sudoer issues Glenn Hutchings <zondo42@gmail.com> - 2014-02-08 10:23 +0000
Re: Using virtualenv to bypass sudoer issues Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-02-08 16:29 +0200
csiph-web