This link has been bookmarked by 180 people . It was first bookmarked on 25 Nov 2007, by Jan Tore Korneliussen.
-
25 Aug 15
-
09 May 13
-
14 Jan 13
-
15 Oct 12
-
27 Sep 12
-
13 Jul 12
-
25 Jan 12
Joseph Morninvirtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.7/site-packages (or whatever your platform's standard location is), it's easy to end up in a situation where you unintentionally upgrade an application that shouldn't be upgraded. -
24 Jan 12
-
10 Dec 11
-
01 Nov 11
-
20 Sep 11
-
29 Aug 11
-
18 Aug 11
-
14 Jun 11
Hector Rivasbasic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2.
-
25 May 11
D C"irtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.7/site-packages (or whatever your platform's standard location is), it's easy to end up in a situation where you unintentionally upgrade an application that shouldn't be upgraded.
Or more generally, what if you want to install an application and leave it be? If an application works, any change in its libraries or the versions of those libraries can break the application.
Also, what if you can't install packages into the global site-packages directory? For instance, on a shared host.
In all these cases, virtualenv can help you. It creates an environment that has its own installation directories, that doesn't share libraries with other virtualenv environments (and optionally doesn't access the globally installed libraries either).
The basic usage is:
$ python virtualenv.py ENV" -
17 Apr 11
-
It creates an environment that has its own installation directories, that doesn't share libraries with other virtualenv environments (and optionally doesn't use the globally installed libraries either).
-
The basic usage is:
$ python virtualenv.py ENV
If you install it you can also just do virtualenv ENV.
This creates ENV/lib/pythonX.X/site-packages, where any libraries you install will go. It also creates ENV/bin/python, which is a Python interpreter that uses this environment. Anytime you use that interpreter (including when a script has #!/path/to/ENV/bin/python in it) the libraries in that environment will be used.
-
The --no-site-packages Option
If you build with virtualenv --no-site-packages ENV it will not inherit any packages from /usr/lib/python2.5/site-packages (or wherever your global site-packages directory is). This can be used if you don't have control over site-packages and don't want to depend on the packages there, or you just want more isolation from the global system.
-
-
31 Mar 11
Alfred ReichA tool to create isolated Python environments.
-
04 Mar 11
-
03 Mar 11
-
20 Feb 11
-
10 Feb 11
Peter Hanleyvirtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requir -
06 Feb 11
-
29 Jan 11
-
07 Jan 11
Olivier DALET"extend_parser(optparse_parser):
You can add or remove options from the parser here." -
05 Jan 11
-
03 Jan 11
feis kontrolDevelopment environment manager for Python ... not really sure whether this approach adds or reduces complexity ...
-
28 Nov 10
-
12 Nov 10
-
31 Oct 10
-
25 Oct 10
-
10 Oct 10
-
01 Oct 10
-
14 Sep 10
-
13 Sep 10
-
10 Sep 10
-
07 Sep 10
-
05 Sep 10
Brett Duncanvirtualenv is a tool to create isolated Python environments
-
31 Aug 10
-
15 Aug 10
-
virtualenv is a tool to create isolated Python environments.
-
-
01 Aug 10
Eunikorn Imazinator"virtualenv is a tool to create isolated Python environments."
-
16 Jul 10
-
09 Jul 10
-
02 Jul 10
-
16 Jun 10
-
08 Jun 10
-
02 Jun 10
-
30 Apr 10
-
19 Mar 10
-
17 Mar 10
-
08 Mar 10
Vladimir ShulyakVirtual Python Environment builder
python virtualenv programming deployment environment development tools virtual
-
22 Feb 10
-
14 Feb 10
-
virtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.4/site-packages (or whatever your platform's standard location is), it's easy to end up in a situation where you unintentionally upgrade an application that shouldn't be upgraded.
-
-
18 Jan 10
-
07 Jan 10
-
06 Nov 09
-
01 Nov 09
-
22 Oct 09
-
23 Sep 09
-
29 Jul 09
-
25 Jul 09
-
21 Jun 09
-
17 Jun 09
-
11 Jun 09
-
06 May 09
-
04 May 09
-
30 Apr 09
-
26 Apr 09
-
13 Apr 09
-
30 Mar 09
-
14 Mar 09
-
05 Mar 09
Jaap van Wingerde"virtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requi -
16 Feb 09
-
13 Feb 09
-
12 Feb 09
-
30 Jan 09
-
28 Jan 09
-
07 Jan 09
-
22 Dec 08
-
19 Dec 08
-
18 Dec 08
-
16 Dec 08
Pedro TrindadeHome page for Python, an interpreted, interactive, object-oriented, extensible programming language. It provides an extraordinary combination of clarity and versatility, and is free and comprehensively ported.
tools tool software programming sysadmin python virtualization virtual sandbox virtualenv
-
07 Oct 08
-
29 Sep 08
-
27 Sep 08
-
21 Sep 08
-
20 Sep 08
-
29 Aug 08
Benoit Caronvirtualenv is a tool to create isolated Python environments.
-
18 Aug 08
-
05 Aug 08
-
05 Jun 08
-
20 May 08
dobrychСкрипт для создания варитуального окружения (модули итп) для Python-приложений
python virtualenv deployment environment virtual packaging webdev
-
10 Mar 08
danpython local libs. the brute force, but automatic, way. see also http://grok.zope.org/documentation/how-to/using-virtualenv-for-a-clean-grok-installation for an example
-
23 Feb 08
-
08 Jan 08
-
03 Jan 08
-
26 Nov 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.