Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed numpy for python 2.6.5. I want to use it for python 3.1.2 and I don't know how to install it. I'm new to ubuntu and I don't know how to install it from tar file. I am using Geany for programing in python3. If I managed to installed it from there would it work in Geany?

share|improve this question
add comment

1 Answer 1

I have tried it on Ubuntu 11.10, but this should work. Download the numpy-1.6.2.tar.gz from sourceforge than open a terminal:

sudo apt-get install python3-dev build-essential
tar xzf numpy-1.6.2.tar.gz
cd numpy-1.6.2
sudo python3 setup.py install

Than you need to wait for converting from python2 to python3 and to compile.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.