Skip to content
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

Ready made exe available? #239

Closed
JB-DX opened this issue Feb 5, 2022 · 7 comments
Closed

Ready made exe available? #239

JB-DX opened this issue Feb 5, 2022 · 7 comments
Labels

Comments

@JB-DX
Copy link

JB-DX commented Feb 5, 2022

With Python 3.8.2 I get errors:

<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
Error: tkinter not found

I did install tkinter it, but no improvements.

I'm pretty annoyed fighting with the module mess of python.

Isn't there an auto-py-exe.exe available, that I just could download and use?
I don't program with python, only need to convert a developer tool into an exe to have a one-file solution to pass on to others.

@brentvollebregt
Copy link
Owner

Where do you get these errors? What did you do to get them?

No, there is not an executable version of auto-py-to-exe - if there was, it would be much harder to package third-party packages.

@JB-DX
Copy link
Author

JB-DX commented Feb 7, 2022

I use python distributed by the ESP32 developer package, installed in P:\ESP32-Compiler-Tools
I invoke: python -m auto_py_to_exe (see below)
auto_py_to_exe is the folder containing your stuff.

P:\ESP32-Compiler-Tools\tools\idf-python\3.8.7>python -m auto_py_to_exe
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size change
d, may indicate binary incompatibility. Expected 144 from C header, got 152 from
 PyObject
Error: tkinter not found
For linux, you can install tkinter by executing: "sudo apt-get install python3-t
k"

@brentvollebregt
Copy link
Owner

Are you sure you have tkinter installed? Based on this error, the application was not able to import tkinter.

See the source throwing the error here.

@JB-DX
Copy link
Author

JB-DX commented Feb 10, 2022

I had the same thoughts, and thus installed it a second time, but that told that it was already installed. I'm pretty clueless what's going on.

@brentvollebregt
Copy link
Owner

brentvollebregt commented Feb 10, 2022

If you try to import tkinter yourself in a separate script and run the script - does it work? Make sure you are using the same installation of Python as the one that you are executing auto-py-to-exe with when doing this.

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 12, 2022
@github-actions
Copy link

Closing issue due to no activity in more than 60 days.

@brentvollebregt brentvollebregt mentioned this issue May 3, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants