-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Closed
Copy link
Description
Lines 42 to 44 in f7fa5af
#### Windows / Mac OS X Requires Python 2.7 | |
Windows & OSX build support for `node-gyp` requires Python 2.7. Be sure to have this version before installing `@tensorflow/tfjs-node` or `@tensorflow/tfjs-node-gpu`. Machines with Python 3.x will not install the bindings properly. |
The error message I receive from node-gyp
contradicts the above:
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@16.20.0 | win32 | x64
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
npm ERR! gyp ERR! find Python checking if "python3" can be used
npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
npm ERR! gyp ERR! find Python checking if "python" can be used
npm ERR! gyp ERR! find Python - executable path is "C:\tools\python2\python.exe"
npm ERR! gyp ERR! find Python - version is "2.7.0"
npm ERR! gyp ERR! find Python - version is 2.7.0 - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
Is the README statement outdated, or am I doing something wrong?