Trying to install tensorflow on jetson nano 4Gb

I used the instructions from here the Python 3.6+JetPack4.6.3 section but each time i have this error

protobuf requires Python ‘>=3.7’ but the running Python is 3.6.9

on the last step. I check other topics related to this but no one ever had this issue.

this is the output of the command apt-cache show nvidia-jetpack

Package: nvidia-jetpack

Version: 4.6-b199

Architecture: arm64

Maintainer: NVIDIA Corporation

Installed-Size: 194

Depends: nvidia-cuda (= 4.6-b199), nvidia-opencv (= 4.6-b199), nvidia-cudnn8 (= 4.6-b199), nvidia-tensorrt (= 4.6-b199), nvidia-visionworks (= 4.6-b199), nvidia-container (= 4.6-b199), nvidia-vpi (= 4.6-b199), nvidia-l4t-jetson-multimedia-api (>> 32.6-0), nvidia-l4t-jetson-multimedia-api (<< 32.7-0)

Homepage: Jetson - Embedded AI Computing Platform | NVIDIA Developer

Priority: standard

Section: metapackages

Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.6-b199_arm64.deb

Size: 29368

SHA256: 69df11e22e2c8406fe281fe6fc27c7d40a13ed668e508a592a6785d40ea71669

SHA1: 5c678b8762acc54f85b4334f92d9bb084858907a

MD5sum: 1b96cd72f2a434e887f98912061d8cfb

Description: NVIDIA Jetpack Meta Package

and also, i have an issue with jtop, I keep on having this when trying to launch it

The jtop.service is not active. Please run:
sudo systemctl restart jtop.service

it is an infinite loop, I run the restart command, even restart the device but I still get the same output.
please I need help it been several weeks I am trying to find a solution.

Blockquote

Hi,

Do you use the below command?

$ sudo pip3 install --verbose 'protobuf<4' 'Cython<3'

The protobuf version for Nano needs to <4.x.

Thanks.

yes that is the command I used.

I even tried installing python3.8 then installed tensorflow it worked but I get

Illegal instruction (core dumped)

after running import tensorflow

Hi,

Please check below link:
https://elinux.org/Jetson/L4T/TRT_Customized_Example#.22Illegal_instruction_.28core_dumped.29.22

Thanks.

thank you so much for your help, it worked successfully I appreciate

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.