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

Error: Cannot find module 'tensorflow'

Open SOB845 opened this issue 7 years ago • 1 comments

Hi, I'm a Windows 10 user and I'm trying to implement Tensorflow in my node.js application. I npm installed tensorflow and copied the code to see if it works well. Next, I opened CMD to run the code, that's where I got the error in the headline. I suspect that Tensorflow does not support Windows OS but I want to hear your opinion.

SOB845 avatar Jan 14 '19 07:01 SOB845

Tensorflow supports the Windows OS. Install the package using: npm install @tensorflow/tfjs

If you want to purely run the node version, the former also works well, you can install using this: npm install @tensorflow/tfjs-node

If you need more help on this you can post a clear view of the error you are getting and tag me. Thank you

bayaosborn avatar May 16 '23 18:05 bayaosborn