[SciPy-User] installing from source on Ubuntu 9.10 (Karmic)

Yury V. Zaytsev yury at shurup.com
Mon Jan 10 05:22:19 EST 2011


On Mon, 2011-01-10 at 11:20 +0100, Brian Murphy wrote:

> Now that I've tried to install two versions, multiple times, both with 
> python setup.py install, and with apt-get, I imagine there might be 
> conflicts. Just to confirm, to "clean" the system again and start from 
> scratch, I have been doing the following:
>     sudo apt-get purge python-scikits-learn python-scikits-learn-doc 
> python-scikits-learn-lib
>     sudo easy_install -m scikits.learn
>     sudo rm -Rf /usr/local/lib/python2.6/dist-packages/scikits.learn-...
> 
> Is that correct?

FYI, an easy way to rebuild from source on Ubuntu is to let APT fetch
the correct dependencies for you against which the original packages
were built:

$ sudo apt-get build-dep python-numpy python-scipy python-scikits-learn

This way, you won't have to worry about installing the right libatlas
development files etc.
 
-- 
Sincerely yours,
Yury V. Zaytsev




More information about the SciPy-User mailing list