Running python from cygwin with .py-extension --- import: not found
Piet van Oostrum
piet at cs.uu.nl
Thu Sep 7 23:16:35 CEST 2000
>>>>> Steve Holden <sholden at holdenweb.com> (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 hello.py
>> print "Hello world"
>> /home/olav> hello.py
>> 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 cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
More information about the Python-list