-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cx_freeze problem with pytorch #2495
Comments
How to reproduce? (A minimal sample program). |
first commend edited. |
I'm trying to reproduce it, but I have doubts about the requirements. They would be: Apparently, fitz and docx would be for py2 and causes syntax errors. Please point me to the correct packages. |
Using example from https://pypi.org/project/argostranslate/ it runs and freezes. |
As that part of large code not working properly just sent for find solution for cx_freeze But I test cx_freeze with other pc and freezes script include torch well working but another problem in that pc with pdf2docx that not working ... However pdf2docx working fine with main pc and torch not working with...
On Monday, September 23, 2024 at 04:29:48 AM GMT+3:30, Marcelo Duarte ***@***.***> wrote:
Using example from https://pypi.org/project/argostranslate/ it runs and freezes.
Your sample does not run in python either (removing fitz and docx imports).
It need improvements to use argostranslate.package like in the example.
Also, the self.to_code is None.
If you get your sample run in python, you can get it frozen.
Can I close this issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
For pdf2docx I made a fix recently #2581 and was released in v7.2.2 |
Hello,
I have encountered a problem to convert a python script to exe with cx_freeze that uses the Argos translate library and is written on PyTorch. When the file is converted to exe with cx_freeze , it gives an error when calling Torch.
[WinError 193] %1 is not a valid Win32 application. Error loading "N:\taraz_sofware\build\exe.win-amd64-3.11\lib\torch\lib\dbghelp.dll" or one of its dependencies.
here is example code :
The text was updated successfully, but these errors were encountered: