[CentralOH] Python on Ubuntu Question

Brandon Craig Rhodes brandon at rhodesmill.org
Wed Nov 30 19:38:16 CET 2011

"James -- Atlantix" <james at atlantixeng.com> writes:

> The first question is would you install setuptools and use
> easy_install

You are close, but slightly out of date; "setuptools" is now,
thankfully, deprecated, since it was always an absolute nightmare to try
to use directly.  Instead, install the most recent version of
"virtualenv" and then create virtual environments with it; they will
come built-in with the setuptools replacement, "distribute", and with
the command you should use instead of "easy_install", which is named
"pip" (written by the famous Ian Bicking).

> OR would you tend to use the Synaptic package manager within Ubuntu
> sudo apt-get install python-dev python-setuptools ...

For things like scipy and numpy, just "apt-get" them directly:

sudo apt-get python-scipy
sudo apt-get python-numpy
sudo apt-get python-matplotlib

By going with the standard Ubuntu pre-compiled versions, you will tend
to save yourself LOTS of time. :)

Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon

More information about the CentralOH mailing list