We recently added pycrypto to the project we were working on, and now I can not start the software after creating it using pyinstaller.
I am having problems with new packages in pyinstaller, but I cannot fix this in particular.
The errors I received while trying to run the firmware are as follows (sorry to rephrase, it takes quite a long time to build)
At first it was something like:
No package Crypto.Cipher
So, I added 'Crypto'in hiddenimports.spec in my file. Then I got
No module named Cipher
So, I changed 'Crypto'to 'Crypto.Cipher', and then got
Crypto.Cipher has no attribute AES
So, I changed 'Crypto.Cipher'to 'Crypto.Cipher.AES', after which I got
File "C:\Folder\made\by\pyinstaller\Crypto.Cipher.AES", line 49 in <module>
ImportError: cannot import name blockalgo
So, I changed 'Crypto.Cipher.AES'to 'Crypto.Cipher.AES.blockalgo', and the error did not change.
, script -
ERROR: Hidden import 'blockalgo' not found.
- , , pycrypto pyinstaller?