[Tutor] Help please with a module location error
Doug.Shawhan@gecits.ge.com
Doug.Shawhan@gecits.ge.com
Mon Nov 18 14:38:04 2002
Howdy Andy,
Have you taken a look in C:\Python22\Lib\site-packages?
You may be lacking .pth files for the various packages you installed!
HTH
d
-----Original Message-----
From: andy surany [mailto:mongo57a@comcast.net]
Sent: Monday, November 18, 2002 1:03 PM
To: tutor@python.org
Subject: [Tutor] Help please with a module location error
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
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor