cancel
Showing results for 
Search instead for 
Did you mean: 

Problems building SECoreBin (prebuild.sh)

leeana
Associate III

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:

0693W00000FBSbCQAX.png 

What should I do? As I have said, cryptodome is installed.

1 ACCEPTED SOLUTION

Accepted Solutions

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).

View solution in original post

3 REPLIES 3
Jocelyn RICARD
ST Employee

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

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).

Hi @leeana​ 

Great! Thank you for your feedback

Best regards

Jocelyn