-
Notifications
You must be signed in to change notification settings - Fork 6
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
node-gyp unhappy with Python versions #56
Comments
...let's field-trip it over to Dropbox to talk to Guido about this? :p Lemme try to recreate this. @RobertStewart is your system default Python 3 now? That looks like MacOS, Homebrewed Python? There's that one post (in the thread) about using Both my dev boxes still point to 2.7.x as 'system' py (with 3 stuff in a virtualEnv) -- I assume that's why I didn't see it |
nodejs/node-gyp#1337 (comment) scroll down to the comment by tmoxley. essentially
maybe that is different that passing the argv? let me know if ^ works. |
Also, @RobertStewart can you echo your $Path here? |
My system defaults to Python 3 from Anaconda due to the path above. It appears to also be using the built-in Python 2.7.
The version for that install is I tried Since I already had a brew install of python2, In the npm logfile, my path when the script was running for this last attempt was:
Below is a more complete excerpt of the error message when I run npm install.
|
I wonder if we can focus on the sha3 package itself on your system. |
what's your Node version? did i see 10? Use a version-manager (nvm, n) and try it with 8.11.1 - that's what i'm using on a fresh install i just did (8 being the latest LTS) try these
|
Using nvm to switch to Node 8.11.1 allowed
|
I got another problem while running tests, but since that issue is probably unrelated to this one, I'll go ahead and close it as being fixed by using to nvm to switch from Node 10.0 to 8.11.1. |
When I run
npm install
, I get an error message because node-gyp still does not support Python 3.According to this long issue thread, there is some hope for Python 3 support - nodejs/node-gyp#193
To force the usage of Python 2.7, I tried
npm install --python=python2.7
. That produced a different error message.Any other magic incantations I should try?
The text was updated successfully, but these errors were encountered: