-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't install @tensorflow/tfjs-node in my project #8276
Comments
My system is window 11 |
Hi, @wangchen2021 I apologize for the delay in responding, following the instructions mentioned in my #8081 (comment) with these Node.js versions I believe you're following these official documentation Ref-1, Ref-2 and node-gyp - Node.js native addon build tool for Windows In general you'll have to follow below steps to install @tensorflow/tfjs-node on Windows system:
NOTE : If the above workaround does not work please try using your mobile phone's hotspot to connect your computer to the internet. This alternative connection might fix the installation issue. Please let us know after trying the above steps is it resolving your issue or not ? if not please help us with the error log to investigate this issue further Thank you for your cooperation and patience. |
Hi, @wangchen2021 To confirm, were you able to successfully install If issue still persists please help us with new error log for further investigation after running this command Thank you for your cooperation and patience |
Hi, @wangchen2021 We haven't got confirmation from your end so now I'm closing this issue and after trying above workaround if issue still persists please feel free to post your comment with new error log and will re-open this issue. Thank you for your understanding and patience. |
When I use yarn add @tensorflow/tfjs-node
Error log below:
error C:\Users\17103\Desktop\version_chen\node_modules@tensorflow\tfjs-node: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: C:\Users\17103\Desktop\version_chen\node_modules@tensorflow\tfjs-node
Output:
CPU-windows-4.19.0.zip
https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-2.9.1.zip
node:events:492
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v20.9.0
The text was updated successfully, but these errors were encountered: