1
I have a lab with 35 machines running Windows 8.1 Pro. After installing Python (version 2.7.9 64bits) on all machines, I come across the following problems:
Some machines install normally, but it is not possible to open idle. By clicking on the shortcut, idle simply does not open. I am not seeing any error message.
Other machines work properly, I can open IDLE, type code, run. Only when closing the tool and trying to open again, I return to the problem mentioned earlier.
When IDLE stops working (I can’t open it anymore), it also stops working via command prompt. When I try to execute some code via command prompt, I get the following message:
Traceback (most recente call last): File "C:\Python27\lib\site.py", line 62, in <module> import os File "C:\Python27\lib\os.py", line 400, in <module> import UserDict File "C:\Python27\lib\UserDict.py", line 1 Version" valueType="REG_SZ" value="1.0" operationHint="replace" owner="true" /> ^ SyntaxError: invalid syntax
Any way to resolve this? Is there any known compatibility issue with Windows 8.1?
What version of IDLE are you using? an error appears when you use it in the command line?
python -m idlelib
– stderr
I’m using the installed version along with python, version 2.7.9. I haven’t had a chance to test it on the command line yet. Once tested, add the result.
– L. WD
I’ve tested it on the command line and it stops working too. I didn’t test the command you showed @qmechanik but I can run normally on another computer via command prompt, already on a computer where IDLE stopped working, via prompt also doesn’t work.
– L. WD
I did the installation using EXE downloaded from the official website. I did not change any settings. The code I tried to run via prompt, after IDLE crashed, was a normal print.
– L. WD
As for executing the Python command at the prompt, I have already come across two situations: sometimes IDLE stops working but I can run via prompt and at other times everything stops working.
– L. WD