mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 12:15:50 +03:00
[GH-ISSUE #123] Fatal error - after a recompile #117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @farinavito on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/123
Using:
Pycharm Community Edition 2019.2.2
Python 3.7.4
Windows 10
I am creating a gui (tkinter) app. I was initially able to compile .py to .exe using auto-py-to-exe, however, I was unable to recompiled it after having made some changes.
Changes:
added dask (library)
imported itertools
After trying to create a new .exe file, I get a Fatal error. Below you can see the output from auto-py-to-exe:
Based on this issue I have updated setuptools to latest version ->50.3.0. I have also upgraded pip to latest version -> 20.2.3. I have also read all open and closed issuess from auto-py-to-exe, however, nothing seems similiar to my issue.
I've also found some articles on cffi issues and gevent issues, however, no solution has helped.
I have tried --hidden-import=pkg_resources.py2_warn --hidden-import=pkg_resources.markers and it did not helped.
Any suggestions what to do next?
@brentvollebregt commented on GitHub (Sep 18, 2020):
I don't see "Fatal error" in that output you have provided so I'm going to assume this message appears when you actually run the created executable (correct me if I'm wrong).
Did you read my post that is linked in the tool itself after each build and in the README? In that post there is a Debugging section that explains how to debug in situations like this (also this). Have you given this a read? Was there an error when running the executable from the terminal?
@farinavito commented on GitHub (Sep 21, 2020):
Thank you for your reply. The "Fatal error" that I was receiving appeared after I had run the script.
After reading the article you had mentioned, I received this error:
After typing
python -m pip install "dask[dataframe]" --upgradein my cmd, my python script was compiled to .exe and everything works as it should.Therefore, I am closing this issue report.