Jtop install fail

Hello

jtop is not installed.
Here’s my environment:

  • NX Jetpack 4.6 R32.6.1

The pip command did not work, so I used pip3.

nvidia@tegra-ubuntu:~$ sudo -H pip install -U jetson-stats
sudo: pip: command not found
nvidia@tegra-ubuntu:~$ 
nvidia@tegra-ubuntu:~$ sudo -H pip3 install -U jetson-stats
Collecting jetson-stats
  Using cached https://files.pythonhosted.org/packages/3c/da/8e1f2c40fddd2690c7ba2c9a97fa80fe22ac15b82479a3033656aa2826f4/jetson-stats-3.1.2.tar.gz
Building wheels for collected packages: jetson-stats
  Running setup.py bdist_wheel for jetson-stats ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-egg0ksho/jetson-stats/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp9vp5h4u4pip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running build_py
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
  creating build
  creating build/lib
  creating build/lib/jtop
  copying jtop/service.py -> build/lib/jtop
  copying jtop/jtop.py -> build/lib/jtop
  copying jtop/github.py -> build/lib/jtop
  copying jtop/__main__.py -> build/lib/jtop
  copying jtop/__init__.py -> build/lib/jtop
  creating build/lib/jtop/gui
  copying jtop/gui/pmem.py -> build/lib/jtop/gui
  copying jtop/gui/pinfo.py -> build/lib/jtop/gui
  copying jtop/gui/pgpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcontrol.py -> build/lib/jtop/gui
  copying jtop/gui/pall.py -> build/lib/jtop/gui
  copying jtop/gui/jtopguimenu.py -> build/lib/jtop/gui
  copying jtop/gui/jtopgui.py -> build/lib/jtop/gui
  copying jtop/gui/__init__.py -> build/lib/jtop/gui
  creating build/lib/jtop/core
  copying jtop/core/tegrastats.py -> build/lib/jtop/core
  copying jtop/core/tegra_parse.py -> build/lib/jtop/core
  copying jtop/core/swap.py -> build/lib/jtop/core
  copying jtop/core/nvpmodel.py -> build/lib/jtop/core
  copying jtop/core/memory.py -> build/lib/jtop/core
  copying jtop/core/jetson_clocks.py -> build/lib/jtop/core
  copying jtop/core/fan.py -> build/lib/jtop/core
  copying jtop/core/exceptions.py -> build/lib/jtop/core
  copying jtop/core/engine.py -> build/lib/jtop/core
  copying jtop/core/cpu.py -> build/lib/jtop/core
  copying jtop/core/config.py -> build/lib/jtop/core
  copying jtop/core/common.py -> build/lib/jtop/core
  copying jtop/core/command.py -> build/lib/jtop/core
  copying jtop/core/__init__.py -> build/lib/jtop/core
  creating build/lib/jtop/gui/lib
  copying jtop/gui/lib/linear_gauge.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/common.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/chart.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/button.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/__init__.py -> build/lib/jtop/gui/lib
  copying jtop/jetson_variables -> build/lib/jtop
  copying jtop/jetson_libraries -> build/lib/jtop
  running build_scripts
  creating build/scripts-3.6
  copying scripts/jetson_swap -> build/scripts-3.6
  copying scripts/jetson_release -> build/scripts-3.6
  copying scripts/jetson_config -> build/scripts-3.6
  installing to build/bdist.linux-aarch64/wheel
  running install
  error: [Errno 13] Permission denied: './scripts/jetson_config'
  
  ----------------------------------------
  Failed building wheel for jetson-stats
  Running setup.py clean for jetson-stats
Failed to build jetson-stats
Installing collected packages: jetson-stats
  Running setup.py install for jetson-stats ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-egg0ksho/jetson-stats/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-elwn2xfs-record/install-record.txt --single-version-externally-managed --compile:
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    running install
    error: [Errno 13] Permission denied: './scripts/jetson_config'
    
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-egg0ksho/jetson-stats/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-elwn2xfs-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-egg0ksho/jetson-stats/

Has anyone solved the same problem as me?

Hi,

Which pip3 version do you use?
We can install it on JetPack4.6 with pip3 21.3.1 without issues.

$ sudo -H pip3 install jetson-stats
Collecting jetson-stats
  Downloading jetson-stats-3.1.2.tar.gz (85 kB)
     |████████████████████████████████| 85 kB 107 kB/s
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: jetson-stats
  Building wheel for jetson-stats (setup.py) ... done
  Created wheel for jetson-stats: filename=jetson_stats-3.1.2-py3-none-any.whl size=113448 sha256=67f8d8a8322d535de1dd7ec1c99da8a694b80b543494d8c16b6aea6395784085
  Stored in directory: /root/.cache/pip/wheels/63/f3/8f/e50d011628619a65338b0e5e940dc2180fc64b874f26f9ba14
Successfully built jetson-stats
Installing collected packages: jetson-stats
Successfully installed jetson-stats-3.1.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Thanks.

Thank you for answer.

I checked my Pip version.

nvidia@tegra-$ pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

I found out that the version was different and updated it.

nvidia@tegra-$  sudo -H pip3 install --upgrade pip
[sudo] password for nvidia: 
Collecting pip
  Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 329kB/s 
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-21.3.1

nvidia@tegra-ubuntu:~$ pip3 --version
pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

I tried with the same version, but it failed.

nvidia@tegra-ubuntu:~$ sudo -H pip3 install -U jetson-stats
[sudo] password for nvidia: 
Collecting jetson-stats
  Using cached jetson-stats-3.1.2.tar.gz (85 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: jetson-stats
  Building wheel for jetson-stats (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nwaz92m3
       cwd: /tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/
  Complete output (56 lines):
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running build_py
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
  creating build
  creating build/lib
  creating build/lib/jtop
  copying jtop/service.py -> build/lib/jtop
  copying jtop/jtop.py -> build/lib/jtop
  copying jtop/github.py -> build/lib/jtop
  copying jtop/__main__.py -> build/lib/jtop
  copying jtop/__init__.py -> build/lib/jtop
  creating build/lib/jtop/gui
  copying jtop/gui/pmem.py -> build/lib/jtop/gui
  copying jtop/gui/pinfo.py -> build/lib/jtop/gui
  copying jtop/gui/pgpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcontrol.py -> build/lib/jtop/gui
  copying jtop/gui/pall.py -> build/lib/jtop/gui
  copying jtop/gui/jtopguimenu.py -> build/lib/jtop/gui
  copying jtop/gui/jtopgui.py -> build/lib/jtop/gui
  copying jtop/gui/__init__.py -> build/lib/jtop/gui
  creating build/lib/jtop/core
  copying jtop/core/tegrastats.py -> build/lib/jtop/core
  copying jtop/core/tegra_parse.py -> build/lib/jtop/core
  copying jtop/core/swap.py -> build/lib/jtop/core
  copying jtop/core/nvpmodel.py -> build/lib/jtop/core
  copying jtop/core/memory.py -> build/lib/jtop/core
  copying jtop/core/jetson_clocks.py -> build/lib/jtop/core
  copying jtop/core/fan.py -> build/lib/jtop/core
  copying jtop/core/exceptions.py -> build/lib/jtop/core
  copying jtop/core/engine.py -> build/lib/jtop/core
  copying jtop/core/cpu.py -> build/lib/jtop/core
  copying jtop/core/config.py -> build/lib/jtop/core
  copying jtop/core/common.py -> build/lib/jtop/core
  copying jtop/core/command.py -> build/lib/jtop/core
  copying jtop/core/__init__.py -> build/lib/jtop/core
  creating build/lib/jtop/gui/lib
  copying jtop/gui/lib/linear_gauge.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/common.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/chart.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/button.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/__init__.py -> build/lib/jtop/gui/lib
  copying jtop/jetson_variables -> build/lib/jtop
  copying jtop/jetson_libraries -> build/lib/jtop
  running build_scripts
  creating build/scripts-3.6
  copying scripts/jetson_swap -> build/scripts-3.6
  copying scripts/jetson_release -> build/scripts-3.6
  copying scripts/jetson_config -> build/scripts-3.6
  installing to build/bdist.linux-aarch64/wheel
  running install
  error: [Errno 13] Permission denied: './scripts/jetson_config'
  ----------------------------------------
  ERROR: Failed building wheel for jetson-stats
  Running setup.py clean for jetson-stats
Failed to build jetson-stats
Installing collected packages: jetson-stats
    Running setup.py install for jetson-stats ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gduyprbw/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/jetson-stats
         cwd: /tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/
    Complete output (4 lines):
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    running install
    error: [Errno 13] Permission denied: './scripts/jetson_config'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ttz9hfgu/jetson-stats_7784703af9eb42849350fbab0cdbd878/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gduyprbw/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/jetson-stats Check the logs for full command output.

Should I completely erase and reinstall?

Hi,

Would you mind trying it with --no-cache-dir to see if it helps?

$ sudo -H pip3 install --no-cache-dir jetson-stats

Thanks.

Thank you for answer.
Installation proceeded, but same situation.

nvidia@tegra-ubuntu:~$ pip3 --version
pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
nvidia@tegra-ubuntu:~$ sudo -H pip3 install --no-cache-dir jetson-stats
[sudo] password for nvidia:
Collecting jetson-stats
  Downloading jetson-stats-3.1.2.tar.gz (85 kB)
     |████████████████████████████████| 85 kB 8.5 MB/s
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: jetson-stats
  Building wheel for jetson-stats (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-w4n4msz6
       cwd: /tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/
  Complete output (56 lines):
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running build_py
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
  INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
  creating build
  creating build/lib
  creating build/lib/jtop
  copying jtop/service.py -> build/lib/jtop
  copying jtop/jtop.py -> build/lib/jtop
  copying jtop/github.py -> build/lib/jtop
  copying jtop/__main__.py -> build/lib/jtop
  copying jtop/__init__.py -> build/lib/jtop
  creating build/lib/jtop/gui
  copying jtop/gui/pmem.py -> build/lib/jtop/gui
  copying jtop/gui/pinfo.py -> build/lib/jtop/gui
  copying jtop/gui/pgpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcpu.py -> build/lib/jtop/gui
  copying jtop/gui/pcontrol.py -> build/lib/jtop/gui
  copying jtop/gui/pall.py -> build/lib/jtop/gui
  copying jtop/gui/jtopguimenu.py -> build/lib/jtop/gui
  copying jtop/gui/jtopgui.py -> build/lib/jtop/gui
  copying jtop/gui/__init__.py -> build/lib/jtop/gui
  creating build/lib/jtop/core
  copying jtop/core/tegrastats.py -> build/lib/jtop/core
  copying jtop/core/tegra_parse.py -> build/lib/jtop/core
  copying jtop/core/swap.py -> build/lib/jtop/core
  copying jtop/core/nvpmodel.py -> build/lib/jtop/core
  copying jtop/core/memory.py -> build/lib/jtop/core
  copying jtop/core/jetson_clocks.py -> build/lib/jtop/core
  copying jtop/core/fan.py -> build/lib/jtop/core
  copying jtop/core/exceptions.py -> build/lib/jtop/core
  copying jtop/core/engine.py -> build/lib/jtop/core
  copying jtop/core/cpu.py -> build/lib/jtop/core
  copying jtop/core/config.py -> build/lib/jtop/core
  copying jtop/core/common.py -> build/lib/jtop/core
  copying jtop/core/command.py -> build/lib/jtop/core
  copying jtop/core/__init__.py -> build/lib/jtop/core
  creating build/lib/jtop/gui/lib
  copying jtop/gui/lib/linear_gauge.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/common.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/chart.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/button.py -> build/lib/jtop/gui/lib
  copying jtop/gui/lib/__init__.py -> build/lib/jtop/gui/lib
  copying jtop/jetson_variables -> build/lib/jtop
  copying jtop/jetson_libraries -> build/lib/jtop
  running build_scripts
  creating build/scripts-3.6
  copying scripts/jetson_swap -> build/scripts-3.6
  copying scripts/jetson_release -> build/scripts-3.6
  copying scripts/jetson_config -> build/scripts-3.6
  installing to build/bdist.linux-aarch64/wheel
  running install
  error: [Errno 13] Permission denied: './scripts/jetson_config'
  ----------------------------------------
  ERROR: Failed building wheel for jetson-stats
  Running setup.py clean for jetson-stats
Failed to build jetson-stats
Installing collected packages: jetson-stats
    Running setup.py install for jetson-stats ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-95ciheu6/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/jetson-stats
         cwd: /tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/
    Complete output (4 lines):
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    running install
    error: [Errno 13] Permission denied: './scripts/jetson_config'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1bxj248i/jetson-stats_edc23499c94a42f8a70584c456677e90/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-95ciheu6/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/jetson-stats Check the logs for full command output.

nvidia@tegra-ubuntu:~$ jtop
bash: jtop: command not found
nvidia@tegra-ubuntu:~$

Hi,

error: [Errno 13] Permission denied: './scripts/jetson_config'

Based on this error, would you mind removing the cache file and trying again?

Thanks.

Hi

‘./scripts/jetson_config’ file not found.

nvidia@tegra-ubuntu:~$ sudo -H pip3 install --no-cache-dir jetson-stats
Collecting jetson-stats
  Downloading https://files.pythonhosted.org/packages/3c/da/8e1f2c40fddd2690c7ba2c9a97fa80fe22ac15b82479a3033656aa2826f4/jetson-stats-3.1.2.tar.gz (85kB)
    100% |████████████████████████████████| 92kB 9.7MB/s
Installing collected packages: jetson-stats
  Running setup.py install for jetson-stats ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ymqbw3g2/jetson-stats/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ojsgqzz2-record/install-record.txt --single-version-externally-managed --compile:
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    running install
    error: [Errno 13] Permission denied: './scripts/jetson_config'

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ymqbw3g2/jetson-stats/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ojsgqzz2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ymqbw3g2/jetson-stats/
nvidia@tegra-ubuntu:~$ find ./ -name jetson_config
nvidia@tegra-ubuntu:~$ find ./ -name *jetson_config*
nvidia@tegra-ubuntu:~$

Where is ‘jetson_config’?

Hello

Additional confirmations on this issue.

After flashing to the NX EMMC module with SDK Manager(1.7.3.9053), install Jtop, it works normally.

However, if you download the source file and install it after building, a problem occurs.

-rw-rw-r-- 1 nvidia nvidia  371419060  1월  4 10:37 Jetson_Linux_R32.6.1_aarch64.tbz2
-rw-rw-r-- 1 nvidia nvidia  181885119  1월  4 10:37 public_sources.tbz2
-rw-rw-r-- 1 nvidia nvidia 1499762780  1월  4 10:37 Tegra_Linux_Sample-Root-Filesystem_R32.6.1_aarch64.tbz2

I found the cause.
In conclusion, this is my mistake.

The cause was to set the ramdisk in the fstab file.

# <file system> <mount point>             <type>          <options>                               <dump> <pass>
/dev/root            /                     ext4           defaults                                     0 1
#tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 

I modified tmpfs with comments and it installed normally.
Sorry for wasting your unnecessary time.

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