Hi,
My board is iMX6Q Sabre Lite with a image built using yocto morty. As I would like to use Python3 but the actuel is Python2.7, would you please tell me how I can install python3 in imx6q? Or how to rebuild the image that contains python3?
Thank you in advance!
Yang GAO
Solved! Go to Solution.
Hi,
Finally I have succeeded to install python3 and python3-pip in Yocto for imx6. Just for the third step, add CORE_IMAGE_EXTRA_INSTALL += " python3 python3-pip" in the local.conf. Thanks for all helps!
Have a nice day.
Yang
I added: IMAGE_INSTALL_append += "python3-pillow" to local.conf, but bitbake gave the error below. Would you please help? I am kinda new to Yocto.
NOTE: Runtime target 'python3-pillow' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pillow']
ERROR: Required build target 'my-base-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['my-base-image', 'python3-pillow']
How do you install pip on iMX6 ?
Hi,
Finally I have succeeded to install python3 and python3-pip in Yocto for imx6. Just for the third step, add CORE_IMAGE_EXTRA_INSTALL += " python3 python3-pip" in the local.conf. Thanks for all helps!
Have a nice day.
Yang
So you don't need step 1?
"1. copy the recipes files python3_3.5.3.bb and python3-pip_9.0.1.bb (because I need also python3-pip) in
fsl-community-bsp/sources/meta-openembedded/meta-python/recipes-devtools/python"
Thanks
Hi,
I am very glad it works. If you have new questions you can continue create thread in our commnunity.
Have a nice day
Rita
Hi Rita,
Thank you very much!
I read the links that you have mentioned, would you please confirm whether the following steps are correct for installing python3 and python3-pip in Yocto for imx6q sabre lite?
1. copy the recipes files python3_3.5.3.bb and python3-pip_9.0.1.bb (because I need also python3-pip) in
fsl-community-bsp/sources/meta-openembedded/meta-python/recipes-devtools/python
2. in build directory, execute:
$bitbake python3
$bitbake python3-pip
3. add IMAGE_INSTALL_append = " python3" and IMAGE_INSTALL_append = " python3-pip" in the local.conf
4. rebuild image: bitbake core-image-x11
Thanks again!
Yang
Hi,
You can try the latest python 3 community recipe:
Recipe reporting system - python3
Hope the follows thread can do some help for you.
https://community.nxp.com/message/905562?commentID=905562#comment-905562
Tool to dump and analyze IVT/DCD data in i.MX binaries
Have a nice day
Rita