How to install Python on apalis imx 8 with torizoncore

Hi,

I am trying to run some basic python code on apalis im8(torizoncore with evalutation containers installed already on it).
Is it necessary to installl python using containers and docker file or can we just install it using $ sudo apt-get install python3.8…

Please advise.
Thanks,
Shardul

Greetings @ShardulC,

Generally it is intended and recommended to run all application code in a container. The base TorizonCore OS has no package manager to install additional packages you may need. The only alternative would be to use the Yocto build system to build your own TorizonCore OS with Python and whatever packages you require.

With containers it’s a fairly simple matter to use a Debian based container, then utilize the apt package manager in Debian to install whatever you need. For further guidance you can consult our documentation on this topic here: Python development on TorizonCore

Best Regards,
Jeremias

Hi @jeremias.tx Thanks a lot. apt package in Debian based container worked fine and got python3 running on the board.

Thanks,
Shardul

Glad I could assist!