The Famous Error Message: "ImportError: No module named python_script"

Fredrik Lundh fredrik at pythonware.com
Thu Dec 14 01:40:01 EST 2006


rich murphy wrote:

> Thank you both for responding.
> 
> Yes of course the file has the ".py" extension and yes I went through
> the tutorial.

since everyone on this forum is importing modules successfully hundreds 
of times every day, that's not obvious at all.

try running the interpreter as

     python -vv

and see what it prints when you type

     import python_script

</F>




More information about the Python-list mailing list