开发者

python.exe was crashed when I run python **.py from windows cmd

开发者 https://www.devze.com 2023-03-08 01:24 出处:网络
if I type python in win cmd, it\'s ok.But when I run python main.py from cmd it crashed. The message is:

if I type python in win cmd, it's ok.But when I run python main.py from cmd it crashed.

The message is:

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开发者_C百科 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


Post-mortem: the problem was solved inside question comments (re-installing Python fixed the problem; I suspect the Python installation had somehow gotten corrupted).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号