How do I install numpy for python2.6?
When I installed the package python-numpy, it was installed in python2.7 (the default in Ubuntu), but not 2.6.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityHow do I install numpy for python2.6?
When I installed the package python-numpy, it was installed in python2.7 (the default in Ubuntu), but not 2.6.
If you have setuptools installed in your python2.6, you can just do
sudo easy_install2.6 numpy
which will pull the egg from pypi.python.org and will build and install it.
Alternetively, you can download .tar.gz file from here, unpack it and run
sudo python2.6 setup.py install
Due to the fact numpy
contains code written in C, you will need build-essential
and python-dev
packages installed (the latter should be for Python 2.6)
See INSTALL.txt in the tarball for more details