I have numpy 1.11 on my 15.10 Ubuntu machine and I need the same version on my 12.04 machine. I am not sure if this is possible at all and do not understand enough of linux to know.
I have tried
sudo pip install numpy --upgrade
sudo apt-get dist-upgrade
I tried reinstalling, etc. and nothing seems to work. Are the libraries simply not compatible or is there a way to do this?
I don't want to mess with the ubuntu version because this is a shared lab machine and I am worried that other people's experiments could have issues if I did.
EDIT: When I run the upgrade it says that it has installed successfully but doesn't say anything about the version.
here is the tail end of the output when I run the upgrade:
types -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/numpy/random/mtrand/mtrand.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/randomkit.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/initarray.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/distributions.o -Lbuild/temp.linux-x86_64-2.7 -o build/lib.linux-x86_64-2.7/numpy/random/mtrand.so
Creating build/scripts.linux-x86_64-2.7/f2py
adding 'build/scripts.linux-x86_64-2.7/f2py' to scripts
changing mode of build/scripts.linux-x86_64-2.7/f2py from 644 to 755
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
changing mode of /usr/local/bin/f2py to 755
Successfully installed numpy
Cleaning up...
When I check my version:
>>> import numpy
>>> numpy.version.version
'1.8.2'