tfjs: [tjfs-node] Unsupported system: cpu-linux-arm64 in raspberry pi 4

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian GNU/Linux 10 (buster) (raspberry pi 4B)
  • TensorFlow.js installed from (npm or script link): npm
  • TensorFlow.js version: 3.12.0

Installing tfjs-node, raspberry pi gave Unsupported system: cpu-linux-arm64. I used node.js v17.2.0 I ran npm install @tensorflow/tfjs-node and this gave the error.

This is the full error:

npm ERR! code 1
npm ERR! path /home/pi/Desktop/coronapredict/node_modules/@tensorflow/tfjs-node
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! CPU-linux-3.12.0.tar.gz
npm ERR! * Downloading libtensorflow
npm ERR! /home/pi/Desktop/coronapredict/node_modules/@tensorflow/tfjs-node/scripts/install.js:106
npm ERR!     throw new Error(`Unsupported system: ${libType}-${platform}-${os.arch()}`);
npm ERR!           ^
npm ERR! 
npm ERR! Error: Unsupported system: cpu-linux-arm64
npm ERR!     at getPlatformLibtensorflowUri (/home/pi/Desktop/coronapredict/node_modules/@tensorflow/tfjs-node/scripts/install.js:106:11)
npm ERR!     at downloadLibtensorflow (/home/pi/Desktop/coronapredict/node_modules/@tensorflow/tfjs-node/scripts/install.js:139:15)
npm ERR!     at async run (/home/pi/Desktop/coronapredict/node_modules/@tensorflow/tfjs-node/scripts/install.js:208:5)
npm ERR! 
npm ERR! Node.js v17.2.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 10
  • Comments: 24 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Is there any update? I would like to use it with arm64 vps.

I’m having this issue as well šŸ™ƒ

same issue on my rpi arm64