How do I use the required packages when converting to exe?

22 views Asked by At

I tried converting a .py file to .exe using auto-py-to-exe, but the packages arent included, and I get this error:

enter image description here

Traceback (most recent call last):
File "imgtoascii.py", line 1, in <module>
ModuleNotFoundError: No module named 'PIL'

How do I use the packages on the file?

--onefile mode, python 3.10

0

There are 0 answers