Re: Maintaining Multiple Copies of Python (Linux)



nfitzkee@xxxxxxxxx writes:

For various reasons, I would like to maintain multiple copies of
python on my (Ubuntu 12.04) linux system. This is primarily for
scientific software development; several modules require different
configuration options than are installed on the 'vanilla' python
included in the Ubuntu distribution, and I don't want to disturb that
version in case something would interfere with the OS.

The consensus solution for this is ‘virtualenv’
<URL:http://pypi.python.org/pypi/virtualenv>.

It is so popular as a solution for the kinds of problems you describe
that its functionality will come into core Python, as discussed in PEP
405 <URL:http://www.python.org/dev/peps/pep-0405/>, for Python 3.3.

Until you start using Python 3.3, you can install ‘virtualenv’ as a
third-party package.

--
\ “The difference between religions and cults is determined by |
`\ how much real estate is owned.” —Frank Zappa |
_o__) |
Ben Finney
.



Relevant Pages

  • Re: Whats so funny? WAS Re: rotor replacement
    ... That I have to download and perhaps install them to use ... > * I have to download and build the MySQLdb package to talk to MySQL ... > servers from Python code ... I can write something using a core module instead of an external ...
    (comp.lang.python)
  • Re: interactive terminal in Ubuntu Linux : libreadline5-dev works only in Python 2.6 not 3.1
    ... or was it from the Ubuntu repository? ... did you install using apt-get or synaptic or did you just start ... python, but your terminal emulator. ... Did not get the tarball with apt-get or from Synaptic. ...
    (comp.lang.python)
  • RE: Python 2.4 killing commercial Windows Python development ?
    ... > install fully useable Python on their Windows machines. ... > Quicksomething for Windows, or RealPlayer, ... The Windows application that I develop and distribute relies on Python ...
    (comp.lang.python)
  • Re: bytecode non-backcompatibility
    ... Unstable bytecodes makes updating to a newer version of Python very ... >>>tedious and risk breaking old scripts, ... > setup.py install" to install the library into site-package. ... each port has a list of all the other ports it depends ...
    (comp.lang.python)
  • Re: Python on Ubuntu
    ... can i install on Python on Ubuntu and make use of it. ... a default installation, no need to install it manually. ... "One dreaming alone, it will be only a dream; ...
    (Ubuntu)