script can't find module
Bug #220560 reported by
Loell Anthony Erecre
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
reverend (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
in Hardy,
when you run the attached script file ie( python sample_reverend.py) , python will generate an error
python sample_reverend.py
Traceback (most recent call last):
File "sample_
from reverend.thomas import Bayes
File "reverend.py", line 3, in <module>
from reverend.thomas import Bayes
ImportError: No module named thomas
python couldn't seem to locate the module, but when you manually input it to python's interactive command line, python can find it.
To post a comment you must log in.
Is this symptom still reproducible in 8.10 or 9.04?