Process finished with exit code -1073740791 (0xC00

2020-07-02 10:55发布

I have created a pure Python project in PyCharm and imported numpy, tensorflow and opencv in order to test a small program.

All packages are updated to the latest version.My Python version is 3.6.4 and I am running on Windows x64. I have browsed through all the solutions on related threads that suggested updating NVIDIA driver, but I have an Intel driver.

I am new to Python, Tensorflow and Pycharm.

Here is the logged error:

Faulting application name: python.exe, version: 3.6.4150.1013, time stamp: 0x5a38b889  
Faulting module name: ucrtbase.dll, version: 10.0.16299.248, time stamp: 0xe71e5dfe  
Exception code: 0xc0000409  
Fault offset: 0x000000000006b79e  
Faulting process ID: 0x4004  
Faulting application start time: 0x01d3c1ef8a3d751c  
Faulting application path: C:\Users\xtr\Test\TfLayers\Scripts\python.exe  
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll  
Report ID: e96d98cb-28c9-4340-bcd3-a7033d4b4972  
Faulting package full name:   
Faulting package-relative application ID:

3条回答
Juvenile、少年°
2楼-- · 2020-07-02 11:04

This was solved by installing pyqt. I installed pyqt with the command (from conda-forge)

conda install -c conda-forge pyqt
查看更多
家丑人穷心不美
3楼-- · 2020-07-02 11:26

The problem does not come from PyCharm, if you use any other IDEs, the result would be the same. In fact, they all use a package called pydev to debug. Your best bet would be to create a brand new Python environment (PyCharm has a function for this) and gradually install packages.

If the solution works and you can find out which package conflicts with pydev, it will be most helpful.

查看更多
Emotional °昔
4楼-- · 2020-07-02 11:27

In my case it was obsolete pyqt library. This following worked for me.

conda install -c anaconda pyqt

查看更多
登录 后发表回答