Yocto - ModuleNotFoundError: No module named 'Crypto'


Sunidhi Dixit
 

Hello Community,

I am getting one issue  in yocto

I am trying to execute a python script from inside

IMAGE_CMD_tar_append (){

python3 myscript.py

}

getting following errors

from Crypto.PublicKey import RSA
| ModuleNotFoundError: No module named 'Crypto'

 

but if I try same command from command line it works

Please guide!

Thanks


This message contains confidential information and is for the intended recipients. If you are not intended recipients you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender or VOLANSYS (www.volansys.com) therefore does not accept liability for any errors or omissions in the contents of this message.