C:\Python25\Lib\IDLELIB\idle.pyw won't start

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Feb 7 00:59:00 EST 2010


En Sat, 06 Feb 2010 08:21:46 -0300, Anthra Norell  
<anthra.norell at bluewin.ch> escribió:

> Gabriel,
>    Thanks for your hints. I take them up one by one:
>
>  >>> import os
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named os
>
> C:\PYTHON25\LIB>dir os.*
>
> OS       PY         25,211  08-03-06  9:27a OS.PY
> OS       PYC        24,430  06-05-08  6:45p OS.PYC
>
> Here we are! Somehow the name got upper-cased! There's a whole bunch   
> (131) of upper-cased names in the Lib I shall install the whole thing  
> from scratch. That should take care if it. Thank you very much.

If you still have problems, try setting the PYTHONCASEOK environment  
variable.

C:\temp>python25 -?
...
Other environment variables:
...
PYTHONCASEOK : ignore case in 'import' statements (Windows).

> Frederic (Looking forward to Linux!)

Or at least a more decent Windows version. ME was a complete failure -  
Win98 Second Edition, being older, was better.

-- 
Gabriel Genellina




More information about the Python-list mailing list