2021-10-05 12:58 AM
Hello everyone,
I am trying to build SECoreBin, but the build fails with prebuild.sh. All python requirements listed in requirements.txt are installed, but the error is following:
ImportError: No module named Cryptodome.Cipher
And even more:
What should I do? As I have said, cryptodome is installed.
Solved! Go to Solution.
2021-10-05 01:58 AM
Thank you, Jocelyn. I've checked the version and these were different (python3 required, but python2 was called). I have changed the default python version to 3.8 and it worked. (I am working under ubuntu).
2021-10-05 01:41 AM
Hello @leeana
Which platform are you using ?
Can you make sure that the python version launched by STM32CubeIDE is the same you updated with pip?
Best regards
Jocelyn
2021-10-05 01:58 AM
Thank you, Jocelyn. I've checked the version and these were different (python3 required, but python2 was called). I have changed the default python version to 3.8 and it worked. (I am working under ubuntu).
2021-10-05 02:00 AM
Hi @leeana
Great! Thank you for your feedback
Best regards
Jocelyn