Installing python-numpy in the python2.5 installation of eee-pc
I'm trying to get python-numpy installed within my python2.5 (/usr/bin/python2.5) installation. When I do an apt-get install python-numpy, it has installed the correct package within the python2.4 installation. I've also managed to manually install python-scipy into the /site-packages directory of python2.5, but for some reason the same is not working for numpy.
So, I could also just do without 2.4 as well, but am unsure how to force the default instance to point to or be upgraded to 2.5. Any information is greatly appreciated. Thanks beforehand.
> > numpy-1.3.0rc1.tar.gz
( Or use your preferred version.)
Unpack with : tar xvf numpy-1.3.0rc1.tar.gz
Next : cd numpy-1.3.0rc1
And : # python2.5 setup.py install
should put numpy in /usr/lib/python2.5/ .
Thanks knudfl. I've now done the above and get the following error, after many other messages:
File "numpy/core/setup.py", line 186, in check_types
"Cannot compiler 'Python.h'. Perhaps you need to "\
SystemError: Cannot compiler 'Python.h'. Perhaps you need to install python-dev|python-devel.
I installed python2.5-dev, and gcc, and the error persists. Any other ideas? Thanks again.
And a better question, which I believe will solve all my issues. I have 2.4 and 2.5 on my machine, but Synaptic only looks at the 2.4 instance, so when I attempt to install 2.5 items, it always complains about conflicts. Do you know how I can force synaptic to assume that I only have 2.5 installed? Updating the /usr/bin/python symbolic link isn't enough somehow.
|All times are GMT -5. The time now is 05:08 PM.|