Skip to main content
leeana
Associate III
October 5, 2021
Solved

Problems building SECoreBin (prebuild.sh)

  • October 5, 2021
  • 1 reply
  • 1143 views

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.

This topic has been closed for replies.
Best answer by leeana

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

1 reply

Jocelyn RICARD
ST Employee
October 5, 2021

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

leeana
leeanaAuthorBest answer
Associate III
October 5, 2021

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

Jocelyn RICARD
ST Employee
October 5, 2021

Hi @leeana​ 

Great! Thank you for your feedback

Best regards

Jocelyn