brentvollebregt / auto-py-to-exe

Converts .py to .exe using a simple graphical interface
MIT License
3.95k stars 677 forks source link

Error: tkinter not found #495

Closed yumianhuli1 closed 3 weeks ago

yumianhuli1 commented 1 month ago

OS:win11 python3.8.10 run auto-py-to-exe
Error: tkinter not found For linux, you can install tkinter by executing: "sudo apt-get install python3-tk" plz take a look ,thanks!

github-actions[bot] commented 1 month ago

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

brentvollebregt commented 1 month ago

Did you follow the instructions in the error? Looks like you don't have tkinter installed.

yumianhuli1 commented 1 month ago

Did you follow the instructions in the error? Looks like you don't have tkinter installed.

Hi!First, I don't need to install this library and second I installed this dependency, but still reported this error

brentvollebregt commented 1 month ago

If you run from tkinter import Tk in the same Python environment you are trying to run auto-py-to-exe with, what do you get?

github-actions[bot] commented 3 weeks ago

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.