In my code, from cryptography.fernet import Fernet and i write this line in my file, make the file into windows executable from linux by wine and pyinstaller. After i made the exe, it show error : ModuleNotFoundError: No module named 'cryptography' when I run in windows. So, i try all solutions like, --hidden-import cryptography --hidden-import cryptography.fernet --collect-all cryptography --collect-data cryptography --collect-binaries cryptography Those also doesn't works, so anyone tell the solution of this please. I suffer in paste 2 days I need 100% working solution for my problem Continue reading...