node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Configuring Python Dependency

Open atomi opened this issue 2 years ago • 2 comments

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.

atomi avatar Aug 31 '23 15:08 atomi

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.

cclauss avatar Aug 31 '23 16:08 cclauss

I would like to know how to make node-gyp use py310 instead of py311.

export PYTHON=python3.10 should work.

DeeDeeG avatar Oct 28 '23 04:10 DeeDeeG