-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install python 3 on images #15
Comments
Is there a workaround to install python 3? I'm having trouble building with python 2 and node 14 |
|
I'm guessing because that runs as the A PR to move to Python 3 would be most welcome. |
(short of that, the only workaround is downgrading node-gyp) |
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 |
As is required for latest `node-gyp`. Some images already had Python 3 installed, now alpine and centos7-devtoolset7 do too, additionally with the `python` command linked to `python3`. Meaning `python -V` will print a 3.x version number. On centos7-devtoolset7, Python 2 remains installed because `yum` relies on it. It can also be accessed as the `python2` command.
As is required for latest `node-gyp`. Some images already had Python 3 installed, now alpine and centos7-devtoolset7 do too, additionally with the `python` command linked to `python3`. Meaning `python -V` will print a 3.x version number. On centos7-devtoolset7, Python 2 remains installed because `yum` relies on it. It can also be accessed as the `python2` command.
Required for latest
node-gyp
.The
centos7-devtoolset7
image has python 2, I didn't check the other images yet.PRs welcome.
The text was updated successfully, but these errors were encountered: