[Tutor] Help please with a module location error
andy surany
mongo57a@comcast.net
Mon Nov 18 14:03:02 2002
This is really strange.....
I have a python221 program which works great under RH Linux 7.3. Now I
am converting it to run under Windows (95, 98, 2000). Should be pretty
easy. I use the MySQLdb and Numeric libs, so I downloaded the latest
versions and installed them in the appropriate place (they both go to
the same directory).
My program begins execution as follows:
from Tkinter import *
from tkMessageBox import * # get standard
dialogs
from tkSimpleDialog import askstring
import MySQLdb
import string
import Numeric
import time
Under windows (executing from IDLE) I get the following error:
Traceback (most recent call last):
File "<string>", line 1, in ?
File "A:\test4.py", line 6, in ?
import Numeric
ImportError: No module named Numeric
Now MySQLdb and Numeric are in the same directory structure.
When I go to the command line interpreter and execute the same code
manually, everything works.
Can anyone explain??????? I have no clue........
TAI
-Andy