breezedeus / Pix2Text-Mac

Pix2Text MacOS App: A Mac Desktop App for Mathematical Formula Recognition and Text Recognition. Mac 本地数学公式识别和文本识别工具
https://p2t.breezedeus.com
MIT License
25 stars 2 forks source link

Launch Error when opening package #7

Open s-rode opened 1 month ago

s-rode commented 1 month ago

After packaging the application during the installation process, I can't open it. I receive a "Launch Error" and it won't start. Unfortunately, it does not give me any more information on the error.

breezedeus commented 1 month ago

Verify the installation is working correctly as follows:

https://github.com/breezedeus/Pix2Text-Mac#3-verify-the-installation-is-working-correctly

s-rode commented 1 month ago

I did that, and it works correctly in the command line

breezedeus commented 1 month ago

呼唤 @horennel ~ 求助

horennel commented 1 month ago

@s-rode 你可能是删除了该项目的源代码和该项目依赖的虚拟环境,所以不能启动程序。 可以查看README文档https://github.com/breezedeus/Pix2Text-Mac/blob/main/README.md 中的Notes部分的描述

s-rode commented 1 month ago

So I've tried to debug the issue, and it seems like the problem is "ModuleNotFoundError: No module named 'yaml'". Maybe this is caused due to dynamic imports?

s-rode commented 1 month ago

@s-rode 你可能是删除了该项目的源代码和该项目依赖的虚拟环境,所以不能启动程序。 可以查看README文档https://github.com/breezedeus/Pix2Text-Mac/blob/main/README.md 中的Notes部分的描述

My python environment hasn't changed.