LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-25-2008, 12:55 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
python error , import numpy


I am trying to run a software that use python. However, i got an error that
I don't have the numpy module.
Quote:

import numpy
ImportError: No module named numpy
Is this a standard python module that I can download from the net?

I installed python-numarray and python-numeric via yum, but still get this error. Can someone suggest if I should go back and ask the software owner
or try to download some python module?
 
Old 08-25-2008, 03:11 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,119

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
It seems that 'numpy' is in package
'python-numpy'

Google : keyword .. numpy rpm ..
is "finding" files inside an rpm package
and also finding the package.

NumPy Home Page
http://numpy.scipy.org/

http://sourceforge.net/project/showf...kage_id=175103
The source (numpy-1.1.1.tar.gz) can be
installed (after unpack) with
# 'python setup.py install'
if you can't find a package.

Good Luck.

Last edited by knudfl; 08-25-2008 at 03:17 PM.
 
Old 08-26-2008, 12:59 AM   #3
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Original Poster
Rep: Reputation: 30
That works, Thank you.
 
  


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
How do I import Tkinter into Python mugglemage Linux - Software 5 07-02-2008 09:47 AM
Python: how to import a python file that doesn't end in .py? BrianK Programming 5 04-15-2008 01:35 PM
python, import and execfile() cs-cam Programming 1 10-18-2005 09:47 PM
Visual Python/Numpy uranologist Linux - Software 0 09-28-2003 11:08 PM
Python - can I import my own stuff? miknight Programming 1 06-10-2003 08:48 AM


All times are GMT -5. The time now is 01:19 AM.

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