简体   繁体   English

“Python 已停止工作” - Windows 10 上的 openalpr

[英]“Python has stopped working” - openalpr on Windows 10

I'm working with OpenALPR with Python scripts.我正在使用带有 Python 脚本的OpenALPR The input image from argparse arguments, whenever I run from command prompt, it is giving output and displaying a dailogue box with error来自 argparse 参数的输入图像,每当我从命令提示符运行时,它都会给出输出并显示一个错误对话框

"python has stopped working" “蟒蛇已停止工作”

Why it is happening could anyone help?为什么会发生有人可以帮忙吗?

If try to debug using mcsv2017 it shows如果尝试使用 mcsv2017 进行调试,它会显示

Unhandled exception at 0x00007FF8BC68AA2C (ntdll.dll) in python3.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00007FF8BC6E3180). python3.exe 中 0x00007FF8BC68AA2C (ntdll.dll) 处的未处理异常:0xC0000374:堆已损坏(参数:0x00007FF8BC6E3180)。

I solved the issue: Do not download the current github repository.我解决了这个问题:不要下载当前的 github 存储库。 Use the source code of the released version from here: https://github.com/openalpr/openalpr/releases/从这里使用已发布版本的源代码: https : //github.com/openalpr/openalpr/releases/

and run python setup.py install in src\\bindings\\python folder.并在 src\\bindings\\python 文件夹中运行 python setup.py install 。 here you go干得好

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM