当我从windows cmd运行python **。py时,python.exe崩溃了

时间:2011-05-25 08:28:45

标签: python crash cmd

如果我在win cmd中键入python,那没关系。但是当我从cmd运行python main.py时它就崩溃了。

消息是:

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

1 个答案:

答案 0 :(得分:1)

验尸:在问题评论中解决了问题(重新安装Python修复了问题;我怀疑Python安装已经以某种方式被破坏)。