-
Notifications
You must be signed in to change notification settings - Fork 58
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
Python executable "/usr/bin/python3" is v3.8.10, which is not supported by gyp #384
Comments
node-gyp@^4.0.0 won't be compatible with python3, but node-gyp already support python3. and after testing, it was found that as long as the upgrade node-gyp@9.0.0 is ok |
How to reproduce ?
|
More:
|
whatwewant
changed the title
Cannot find Python executable "python2 not found", you can set the PYTHON env variable
Python executable "/usr/bin/python3" is v3.8.10, which is not supported by gyp
Mar 18, 2022
Worked now PYTHON=$(which python3) cnpm i raw-socket
⠋ [0/1] Installing nan@2.14.*[npminstall:runscript] raw-socket@latest found binding.gyp file, auto run "node-gyp rebuild", root: "/private/tmp/foo/node_modules/_raw-socket@1.7.0@raw-socket"
⠼ [0/1] Installing nan@2.14.* CXX(target) Release/obj.target/raw/src/raw.o
⠋ [0/1] Installing nan@2.14.* SOLINK_MODULE(target) Release/raw.node
✔ Installed 1 packages
✔ Linked 2 latest versions
✔ Run 0 scripts
✔ All packages installed (2 packages installed from npm registry, used 6s(network 6s), speed 3.24KB/s, json 1(3.62KB), tarball 15.73KB, manifests cache hit 1, etag hit 1 / miss 0) |
fengmk2
added a commit
that referenced
this issue
Mar 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Repreduce
PYTHON=$(which python3) cnpm i raw-socket
Logs
The text was updated successfully, but these errors were encountered: