- Make sure you have
C:\Python34\Lib\site-packages\PyInstaller\hooks\hook-Cryptodome.py
- Go to
C:\Python34\Lib\site-packages
, and copy (sic!)Crypto
module, and name itCryptodome
. - Go to
C:\Python34\Lib\site-packages\Crypto\Util\_raw_api.py
, and rename imports fromCrypto
toCryptodome
. It should look like this:
from Cryptodome.Util.py3compat import byte_string
from Cryptodome.Util._file_system import pycryptodome_filename