Closed gitgonewithwind closed 2 years ago
You can find python2 in https://git.openembedded.org/meta-python2/tree/README but I would strongly recommend you to try to find a way to migrate to python3. I'm not sure what and how to do that based on the stack you are using but that is my recommendation.
hi all, sorry to bother you again, I am playing pi 4 hardware ver 1.4 2GB board. poky commit commit 74a8a74a553a33dc5f41939f8070d75e6d57d3da meta-raspberrypi commit e1014d41ef459af807f95cb7ff9105f077bc6daa (HEAD -> master, origin/master, origin/HEAD) Author: Khem Raj raj.khem@gmail.com Date: Wed Jan 26 09:20:26 2022 -0800 I need node app and npm rebuild , but when I run npm rebuild , an error shows: npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
I find a solution, it needs to install python(2.7), but in the updated poky, it seems there is no python in poky. I tried to add python CORE_IMAGE_EXTRA_INSTALL += "python" but :ERROR: Nothing PROVIDES 'python'. Close matches: python3 python3-py python3-sh
there is only(default) python3 for bitbake core-image-base
I remember, in the old raspberry pi, I can add both python and python3. What can I do now? Thank you very much. I think Maybe it not a issue for meta-raspberrypi,but I do not where I find find the solution. sorry about that.