brentvollebregt / auto-py-to-exe

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

Missing Module #448

Closed Nathan3-14 closed 9 months ago

Nathan3-14 commented 10 months ago

Interesting missing module error

Error

I converted a very basic python project using tkinter and it gave the following error image And I was intereseted why it needed a module (ip address) despite it not being used in the code.

Code

test.py:

from tkinter import *

root = Tk()
test = Label(text="hi!")
test.pack()
root.mainloop()
github-actions[bot] commented 10 months 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 10 months ago

This was fixed in PyInstaller 5.12 back in June - see more here: https://github.com/pyinstaller/pyinstaller/issues/7692

Nathan3-14 commented 9 months ago

Cool thanks. I updated my python and it seemed to work fine.