Open batman4444 opened 3 days ago
Hi, @batman4444
Thank you for bringing this issue to our attention, I see you're trying with Python version 3.12.4
and Node.js version v22.3.0
as far I know at the moment TensorFlow.js does not support Python Version 3.12.x so please try to use Python version from 3.7.x to 3.11.x and also downgrade Node.js version to either v20.15.0
or v19.9.0
tensorflow.dll
in this location node_modules/\@tensorflow/tfjs-node/lib/napi-v8/
(in napi-v8
folder) you can try below command to copy tensorflow.dll
into napi-v8
folder.cp node_modules/\@tensorflow/tfjs-node/deps/lib/tensorflow.dll node_modules/\@tensorflow/tfjs-node/lib/napi-v8/
npm install
npm update
npm rebuild bcrypt --build-from-source
npm rebuild @tensorflow/tfjs-node build-addon-from-source
Please give try it with above workaround and let us know is it working as expected or not ?
Thank you for your understanding and patience.
Moving tensorflow.dll from tfjs-node-gpu/deps/lib/ to tfjs-node-gpu/lib/napi-v8/ seemed to do the trick.
Any chance you know if this is just an install error or will I run into other problems if I don't down-grade my python/node versions?
I am trying to troubleshoot the following error while importing tfjs-node-gpu Everything was working with v4.17, however after moving the project folder and reinstalling all npm modules I get the following error
Following this guide here: https://github.com/tensorflow/tfjs/blob/master/tfjs-node/WINDOWS_TROUBLESHOOTING.md I get the following output from "node-gyp configure --verbose"
Error seems to be binding.gyp not found (cwd: C:...) while trying to load binding.gyp