question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:24

github_iconTop GitHub Comments

5reactions
tamainacommented, Jun 16, 2022

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

1reaction
alexrabincommented, Jun 19, 2022

I’m having this issue as well 🙃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation of tjs on raspberry pi 64 bits fails
Trying to install tfjs for hours, and fail. ... CPU-linux-3.18.0.tar.gz npm ERR! ... Error: Unsupported system: cpu-linux-arm64.
Read more >
I'm on 64-bit Raspberry Pi OS, but arm64 packages ...
I'm on 64-bit Raspberry Pi OS, but arm64 packages unsupported ... I am on a 64-bit OS because the output of the `uname...
Read more >
RPi Distributions
Distribution Latest release date First release date OS platform License LibreELEC 2017‑05‑26 2016‑05‑04 Linux 4.8.10 (GPLv2 ) Linutop OS XS 2015‑09‑23 2015‑09‑23 Linux/Raspian Core: OSI...
Read more >
Quarkus native running on a Raspberry Pi
Pick up the raw image for aarch64. Flash the operating system on the SD card. Non-Linux OS. If you are not running any...
Read more >
Install Vulkan on Raspberry Pi 4
Vulkan is a low-level 3D graphics accelerator using a balanced mix of CPU and GPU instructions and optimized for parallel tasking with multiple ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found