Running python from cygwin with .py-extension --- import: not found

Olav OlavB at yahoo.com
Thu Sep 7 06:42:20 EDT 2000


When I call a python-script from Cygwin with just the file-name I get
the followin error:
//d/proj>d:/proj/intranet_bin/getopt.py
import: not found
import: not found
import: not found
import: not found
from: not found
from: not found
from: not found
from: not found
from: not found

It works if  the script just contains a print-statement (so there is no
imports)
Also
> python //d/proj>d:/proj/intranet_bin/getopt.py
works

(Is this a Cygwin version problem?)

Thanks!
Olav

 This problem is partly related to this tread
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000907/c053f10a/attachment.html>


More information about the Python-list mailing list