newbie question: ImportError: No module named Numeric

rmachne rmachne at meta.lo-res.org
Tue Jul 15 10:04:03 EDT 2003


Hi there,

Sorry, if there is a newbie list or this question is answered in tutorials
- I tried but without succes :-( -  here is my question:
Using linux,
I need the 'Numerical Python' package, and I installed it on my local
computer (not with the other packages in /usr/local/...) using

~/programs/Numeric-23.0>python setup.py install --home=/scratch/raim

but now the Numeric package / module can't be found:

~/programs/Numeric-23.0/Test> python test.py
Traceback (most recent call last):
  File "test.py", line 2, in ?
    import Numeric
ImportError: No module named Numeric
Exit 1

 I couldn't find out which path variable to change or add. Can anyone
help?
(Test.py works fine when called from within the lib folder with
Numeric.py)

best
rainer





More information about the Python-list mailing list