LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-31-2009, 07:15 PM   #1
zoopside
LQ Newbie
 
Registered: Sep 2003
Distribution: Eee PC Xandros
Posts: 8

Rep: Reputation: 0
Installing python-numpy in the python2.5 installation of eee-pc


Hello all,
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.
 
Old 04-01-2009, 05:50 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,145

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
http://www.scipy.org/Download
http://sourceforge.net/project/showf...kage_id=175103
> > 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/ .
.....

Last edited by knudfl; 04-01-2009 at 05:53 PM.
 
Old 04-01-2009, 08:32 PM   #3
zoopside
LQ Newbie
 
Registered: Sep 2003
Distribution: Eee PC Xandros
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 04-01-2009, 08:42 PM   #4
zoopside
LQ Newbie
 
Registered: Sep 2003
Distribution: Eee PC Xandros
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Python package including numpy , scipy,mpi4py , pycxx , symeig madani Linux - Software 1 03-14-2009 07:22 PM
python error , import numpy ufmale Programming 2 08-26-2008 12:59 AM
[help]---Can't find Python library python2.5 LinczO_Dz Linux - Software 6 04-19-2008 11:09 AM
Numpy installation help wuzzo87 Linux - Software 2 04-06-2007 07:50 AM
Visual Python/Numpy uranologist Linux - Software 0 09-28-2003 11:08 PM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration