Last active
February 4, 2026 16:43
-
-
Save 4skinSkywalker/209e89be012abb29859fc6d0f70003d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # How To Make Fucking TensorFlow Work On Fucking Windows | |
| 1. Install [Node Version Manager](https://github.com/coreybutler/nvm-windows) | |
| 1.1. Run `nvm install 16.20.2` | |
| 1.2. Run `nvm use 16.20.2` | |
| 2. Install the Windows `vs_BuildTools.exe` and `vs_Community.exe` C++ Developer [Visual Studio 2022](https://learn.microsoft.com/it-it/visualstudio/releases/2022/release-history#release-dates-and-build-numbers) | |
| 3. Install [Python 3.10](https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe) | |
| 4. Run `npm i -g node-gyp` | |
| 5. Run `npm i -g node-pre-gyp` | |
| 6. Run `npm i @tensorflow/tfjs-node@3.1.0` | |
| 7. Move into the `node_modules/@tensorflow/tfjs-node` and run `node-pre-gyp rebuild` | |
| 8. Copy all files inside `node_modules/@tensorflow/tfjs-node/deps/lib/` inside `node_modules/@tensorflow/tfjs-node/lib/napi-v7/` | |
| Now you can run your TensorFlow script! |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's probably possible to install more recent tf version on more recent node version. I'm happy enough with this...