I have an issue when I create a .exe file with autopytoexe. My command is
`pyinstaller --noconfirm --onefile --console "C:/Users/user1/Desktop/test/script.py"
the problem is when I run this .exe I get
Traceback (most recent call last):
File "script.py", line 3, in <module>
ModuleNotFoundError: No module named 'Cryptodome'
[7020] Failed to execute script 'script' due to unhandled exception!
my imports in the script are
from Cryptodome.Cipher import AES
import hashlib
import os
I have cryptodome installed and I am 100% sure of this cause my script works as a .py file so it seems to be a problem with autopytoexe not including the cryptodome module in the .exe file. I tried adding the --hidden-import option to autopy aswell but did not help
Also tried using pyinstaller in the comand line instead of the gui same issue
also tried putting import cryptography at the start of my code