Closed vweevers closed 2 years ago
Is there a workaround to install python 3? I'm having trouble building with python 2 and node 14
alpine
also has python2 - doesn't seem to let us install any packages eg -i alpine --preinstall 'apk add python3'
doesn't work.
I'm guessing because that runs as the node
user.
A PR to move to Python 3 would be most welcome.
(short of that, the only workaround is downgrading node-gyp)
hi @reconbot, I've proposed PR https://github.com/prebuild/docker-images/pull/22 to add python 3 to Centos and Alpine. Any testing or feedback would be welcome. Sorry I've not had chance to test this out properly yet (I'm away from my dev machines at the moment)
How can I test it?
How can I test it?
I think the easiest way is using a custom image per https://github.com/prebuild/prebuildify-cross#usage but haven't had chance to try it yet
Required for latest
node-gyp
.The
centos7-devtoolset7
image has python 2, I didn't check the other images yet.PRs welcome.