1
如果我在win cmd中鍵入python,它是好的。但是當我從cmd運行python main.py它崩潰。當我運行python ** .py從Windows cmd
的消息是:
python.exe has stopped working.
Problem signature:
Problem Event Name: APPCRASH
Application Name: python.exe
Application Version: 0.0.0.0
Application Timestamp: 4c73f7b6
Fault Module Name: python26.dll
Fault Module Version: 2.6.6150.1013
Fault Module Timestamp: 4c73f79a
Exception Code: c0000090
Exception Offset: 000c30a2
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 2052
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
你在使用哪種Python? CPython的權利,但什麼版本? 如果不確定嘗試「python -V」 – jsalonen 2011-05-25 08:32:41
我使用CPython 2.6.6 – joey 2011-05-25 08:38:01
您是否正在運行32位或64位Windows? Python如何:它是32還是64?你是以管理員身份還是以普通用戶身份運行Python? – jsalonen 2011-05-25 08:38:36