Install jetson-stats fail

Hi,

My dev is AGX Thor devkit.I can not install jetson-stats by pip:

nvidia@nvidia:~$ sudo pip3 install -U jetson-stats
[sudo] password for nvidia:
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

how can I install it?

nvidia@nvidia:~$ cat /etc/nv_tegra_release
# R38 (release), REVISION: 2.0, GCID: 41844464, BOARD: generic, EABI: aarch64, DATE: Fri Aug 22 00:55:42 UTC 2025
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
INSTALL_TYPE=

Hi.
It is not updated for AGX Thor yet. Will check it with our team. For now please run $ sudo tegrastats to get system status.

below is the output of command sudo tegrastats on my THOR board. It provides far less info than jetson_stats

09-03-2025 16:50:46 RAM 2622/125772MB (lfb 6x4MB) CPU [2%@972,0%@972,2%@972,0%@972,0%@972,0%@972,0%@972,0%@972,0%@972,0%@972,0%@972,3%@972,0%@972,0%@972] EMC_FREQ 0%@665 GR3D_FREQ @[0,0,0] NVENC0_FREQ @0 NVENC1_FREQ @0 NVDEC0_FREQ @0 NVDEC1_FREQ @0 NVJPG0_FREQ @0 VIC off OFA_FREQ @0 PVA0_FREQ off APE 300 cpu@55.343C tj@56.937C soc012@55.531C soc345@56.937C VDD_GPU 0mW/0mW VDD_CPU_SOC_MSS 4822mW/4822mW VIN_SYS_5V0 5827mW/5827mW

You could try this A method to install jtop on Thor without --break-system-packages

1 Like

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