流程用退出代码-1073741515(0xc000000135)完成

发布于 2025-02-11 02:19:35 字数 326 浏览 3 评论 0原文

我正在运行一个Python脚本,并且它曾经工作(甚至在我的其他笔记本电脑上都可以使用),但在我当前的计算机上没有 - 我只会得到错误代码:

Process finished with exit code -1073741515 (0xC0000135)

我没有得到任何其他结果 - 甚至没有从中获得”在文件开头打印“命令。

我还没有找到任何特定的东西。 我重新安装了Python(2.7.9),Pygame(1.9.1),甚至是Pycharm(首先尝试了4.5,现在以5.0-相同的结果尝试)

是否有人知道该错误代码含义是什么?我找不到任何东西。

I'm running a python script and it used to work (it even does on my other laptop right now) but not on my current computer - I just get the error code:

Process finished with exit code -1073741515 (0xC0000135)

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

I haven't 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 couldn't find anything about it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(11

分開簡單 2025-02-18 02:19:36

如果您尝试创建.svm使用dlib可能是.xml,则使用的某些图像是导致问题。尝试创建一个新的.xml推出图像(任何图像)或删除您的.xml并进行测试,即使您发现图像问题,也可以尝试一下。

对于典范而言,图像“ treinamento3.jpg”是问题所在。我删除了此命令行:

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

从我的.xml中解决我的问题。

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.

宛菡 2025-02-18 02:19:35

重新安装Python - 您没有python33.dll中的c:\ windows \ system32 \

也许您有不同的python版本 - 查看c根的文件夹:

如果是的,则指向您的pycharm&gt的Python.exe版本;设置&gt;项目解释器

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

北风几吹夏 2025-02-18 02:19:35

这可能是由于另一个程序锁定该内存位置。
在尝试更加剧烈的措施之前,请知道重新启动计算机为我解决了问题。

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.

┈┾☆殇 2025-02-18 02:19:35

该错误似乎与本机代码(例如C/C ++)中的问题有关,并且可能与加载某些DLL文件中的问题有关。要知道哪个文件,Windows“事件查看器”是您的朋友。

“活动查看器” - &GT; “ Windows Logs” - &GT; “应用程序”提要通常为每个崩溃的应用程序显示一个或多个行,其中一个应列出有问题的文件名。

我个人在Python 3.9上观察到Matplotlib的类似问题(在Windows 10上使用Anaconda安装)。当使用Pycharm执行代码时,我可以看到这种错误。从Anaconda控制台开始时,相同的代码刚刚崩溃,没有明显的错误。

然后,事件查看器显示了freetype.dll的问题。在这种情况下,通过将PACKEGE从2.11.0降低到2.10.4:

conda install freetype=2.10.4

根据确切问题,我可以想象删除Pycache文件夹可能会有所帮助(如其他答案中提到)。另外,有时查看路径环境变量以实际了解为什么从该位置加载某些DLL文件可能是有意义的。

The error seems to be related to issues in native code (e.g. C/C++) and might be related to issues in loading some dll file. To know which file, the Windows "Event Viewer" is your friend.

The "Event Viewer" -> "Windows Logs" -> "Application" feed usually shows one or more rows for each crashed application and one of them should list the problematic filename.

Personally I observed similar issue with matplotlib on Python 3.9 (installed using Anaconda on Windows 10). I could see this kind of error when the code was executed using PyCharm. The same code just crashed with no visible errors when starting from Anaconda console.

The Event viewer then showed issue with freetype.dll. In this case, the problem was fixed by downgrading the packege from 2.11.0 to 2.10.4:

conda install freetype=2.10.4

Depending on the exact issue, I could imagine that removing pycache folder might help (like mentioned in other answers). Also, sometimes it might make sense to look at the PATH environment variable to actually understand why certain dll file is loaded from such a location.

琴流音 2025-02-18 02:19:35

在将Pyarrow升级到最新版本之后,我在Pycharm中遇到了这个错误-0.16 ---使用PIP运行与此更新之前运行的相同代码,该更新使用Pandas Read_Parquet指定引擎=“ Pyarrow”触发此库的使用。卸载和安装以前的版本之后

pip安装pyarrow ==“ 0.15”

问题解决了。

I got this error in PyCharm after upgrading pyarrow to the most recent version -- 0.16 --- using pip, running the same code I had ran before this update which used pandas read_parquet specifying the engine="pyarrow" triggering use of this library. After uninstalling and installing the previous version with

pip install pyarrow=="0.15"

the problem resolved.

风筝在阴天搁浅。 2025-02-18 02:19:35

在Windows上的Pycharm中运行时,我遇到了相同的错误。受 https://thenewboston.com/thenewboston.com/forum/topic.php?id=10088 < /a>,我卸载并重新安装了Python。重新安装时,我检查了将Python添加到路径选项。在Pycharm中重新创建虚拟环境后,错误消失了。

更新:在另一个Windows PC(64位)上,我遇到了同样的错误,即重新安装Python还不够。我尝试了两件事。

  1. 卸载32位Python并安装64位Python。即下载python-3.6.4-Amd64.exe而不是python-3.6.4.4.4.4.4.exe
  2. 从Github重新创建Pycharm Project。

在两个操作之间,错误消失了。

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.

空名 2025-02-18 02:19:35
taskkill /F /IM python.exe

如果刚刚发生的话,请尝试一下,并且在发生错误之前正常起作用。

taskkill /F /IM python.exe

Try this if it just happened out of the bloom and it worked normally before that error occurred.

内心激荡 2025-02-18 02:19:35

我通过在构建,执行,部署下的设置中禁用“ pyqt兼容”来解决它。 Python调试器

之后,它应该正确调试。

I solved it by disabling "PyQt compatible" checkbox in the Settings under Build, Execution, Deployment --> Python Debugger.

After that, it should debug properly.

淡水深流 2025-02-18 02:19:35

这是引起的和解决方案:

计算机有两个物理处理器。该代码使用NUMBA进行并行计算。在禁用和重新确定过度线程后,此问题就开始了。要解决清晰的 pycache 文件夹并运行程序。

Here is caused it and solution:

The computer had two physical processors. The code uses Numba for parallel computations. Upon disabling and re-enabling hyperthreading this issue started. To solve it clear pycache folder and run the program.

叫嚣ゝ 2025-02-18 02:19:35

我在代码中也遇到了这个错误,就我而言,问题是共享pickle,该在Unix Machine中产生的一个Windows One。

I encountered this error in my code as well, in my case the problem was sharing pickle which produced in Unix machine one a Windows one.

-黛色若梦 2025-02-18 02:19:35

**我面临相同的情况,并且故障源于尝试同时运行终端处理器和图形用户界面。当我单击按钮程序停止运行时**
解决方案:我禁用终端输入并使用图形。

例如:
如果这样做,

entry1=Entry(root,width=10).pack()
variable= str(input("Whats your name?"))

您将看到错误。

如果删除entry1或变量,则不会看到问题。

**I faced the same situation and the malfunction stems from trying to run both terminal processor and graphical user interfaces. When I clicked the button program stopped running **
Solution: I disabled terminal inputs and work with graphics.

For example:
if you do this

entry1=Entry(root,width=10).pack()
variable= str(input("Whats your name?"))

You will see the error.

if you delete either entry1 or variable, you will not see the problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文