I have a node.js snap which needs python installed in order to do some compilation. Running the application outside snap works fine, but python seems missing when running it in snap:
snap[11729]: gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
My parts section of the snapcraft.yaml file includes python in the build and stage packages, but that is obvious not enough. So what do I need to get python installed with my snap? Do I need to add another part for python, and if so, what would it look like.
Thank you!