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

Piet van Oostrum piet at
Thu Sep 7 23:16:35 CEST 2000

>>>>> Steve Holden <sholden at> (SH) writes:

SH> Olav wrote:
>> Calvelo Daniel wrote:
>> >
>> > It seems that your script is not interpreted by Python. Those are not
>> > Python errors.
>> No, the script is interpreted.  The problem is  importing  the  libraries:
SH> Yes, but interpreted by what?

>> /home/olav> cat
>> print "Hello world"
>> /home/olav>
>> Can't find file Hello world

SH> I'm guessing that your shell is finding a "print" command on your PATH,
SH> but that the "print" command can't find what it thinks to be a file.

That must be the Windows (NT) print command, that expects a file to be
printed as argument.

Piet van Oostrum <piet at>
Private email: P.van.Oostrum at

More information about the Python-list mailing list