Process finished with exit code -1073741515 (0xC0000135)

爷,独闯天下 提交于 2020-01-10 10:09:07

问题


im running a python script and it used to work, even does on my laptop right now but not on my other computer - i just get the error code:

Process finished with exit code -1073741515 (0xC0000135)

I dont get any other results - not even from "print" commands at the beginning of the file.

I havent found anything specific to that.. I re-installed python (2.7.9), pygame (1.9.1) and even pycharm (tried 4.5 first, now with 5.0 - same result)

Does anyone know what that error code means? I couldnt find anything about it.


回答1:


reinstall python – you don't have python33.dll in c:\WINDOWS\system32\

Maybe you have different python versions – look at folders in root of c:

If yes, then point to your version of python.exe in pyCharm > Settings > Project Interpreter




回答2:


This may be due to another program locking that memory location. Before you try more drastic measures, know that restarting the computer fixed the problem for me.




回答3:


I encountered the same error when running .py in PyCharm on Windows. Inspired by https://thenewboston.com/forum/topic.php?id=10088, I uninstalled and reinstalled Python. When reinstalling, I checked the ADD PYTHON TO THE PATH Option. After recreating the virtual environment in PyCharm, the error was gone.

Update: On another Windows PC (64-bit), I encountered the same error where reinstalling Python was not enough. I tried two things.

  1. Uninstalling 32-bit Python and installing 64-bit Python. Namely downloading python-3.6.4-amd64.exe instead of python-3.6.4.exe
  2. Recreating the Pycharm project from github.

Between the two actions, the error was gone.




回答4:


If you're trying create a .svm use dlib probably the problem is in .xml, some image that you use is cause the problem. Try to create a new .xml putting out a image(any image) or remove that your .xml and test, try this even you find out the image problem.

For exemple, the image "treinamento3.jpg" was the problem. I removed this command line:

< image file='delirium\treinamento3.jpg'>
    < box top='213' left='86' width='46' height='49'/ >
    < box top='531' left='47' width='125' height='123'/ >
  < /image >

from my .xml for solve my problem.



来源:https://stackoverflow.com/questions/33582766/process-finished-with-exit-code-1073741515-0xc0000135

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!