Creating Python application on MangoH Red


#1

Hi

Is there any possible that I can use Python and Pip on MangoH Red Linux Board. I can’t get to install python3

as it doesn’t accept apt-get install python3. Is there anyone who can help?

Thanks
Samuel


#2

The MangOH is not running a Debian based distribution, hence apt-get doesn’t work. You would need to rebuild the base Yocto stuff with python3 installed. As for Pip… There’s not a lot of built-in flash. You might want to set up an SD card for Pip if you want a lot of packages.

If you’re just doing development, you could do what I ended up doing which is setting up a Debian “chroot” environment on an SD card. In order to do that, I had to rebuild the Yocto kernel to enable ext4.