node-gyp
node-gyp copied to clipboard
Configuring Python Dependency
From the README
Configuring Python Dependency
...
Maybe we should have sensible defaults instead. Python is Python 3 now and node-gyp should work out of the box with it.
On my Mac right now...
% brew list | grep py
python-launcher
[email protected]
[email protected]
% py --list
3.11 │ /opt/homebrew/bin/python3.11
3.10 │ /opt/homebrew/bin/python3.10
I would like to know how to make node-gyp use py310 instead of py311.
I would like to know how to make
node-gypuse py310 instead of py311.
export PYTHON=python3.10 should work.