Failed to install tensorflow on jeton nano

Hello,

Blockquote
(tensorflow_env) nvidia@nvidia-desktop:~/coding$ pip3 install -U numpy grpcio absl-py py-cpuinfo psutil portpicker six mock requests gast h5py astor termcolor protobuf keras-applications keras-preprocessing wrapt google-pasta setuptools testresources
Collecting numpy
Downloading numpy-1.19.5-cp36-cp36m-manylinux2014_aarch64.whl (12.4 MB)
|████████████████████████████████| 12.4 MB 10.6 MB/s
Collecting grpcio
Downloading grpcio-1.38.0-cp36-cp36m-manylinux2014_aarch64.whl (39.1 MB)
|████████████████████████████████| 39.1 MB 65 kB/s
Collecting absl-py
Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
|████████████████████████████████| 129 kB 15.6 MB/s
Collecting py-cpuinfo
Downloading py-cpuinfo-8.0.0.tar.gz (99 kB)
|████████████████████████████████| 99 kB 3.9 MB/s
Collecting psutil
Downloading psutil-5.8.0.tar.gz (470 kB)
|████████████████████████████████| 470 kB 15.9 MB/s
Collecting portpicker
Downloading portpicker-1.4.0-py3-none-any.whl (13 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting mock
Downloading mock-4.0.3-py3-none-any.whl (28 kB)
Collecting requests
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 3.2 MB/s
Collecting gast
Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting h5py
Downloading h5py-3.1.0.tar.gz (371 kB)
|████████████████████████████████| 371 kB 16.0 MB/s
Installing build dependencies … done
Getting requirements to build wheel … done
Installing backend dependencies … error
ERROR: Command errored out with exit status 1:
command: /home/nvidia/coding/tensorflow_env/bin/python3 /home/nvidia/coding/tensorflow_env/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-g0_uz9su/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘numpy==1.12; python_version == “3.6”’ ‘Cython>=0.29.14; python_version >= “3.8”’ ‘numpy==1.19.3; python_version >= “3.9”’ pkgconfig ‘numpy==1.14.5; python_version == “3.7”’ ‘numpy==1.17.5; python_version == “3.8”’ ‘Cython>=0.29; python_version < “3.8”’
cwd: None
Complete output (2504 lines):
Ignoring Cython: markers ‘python_version >= “3.8”’ don’t match your environment
Ignoring numpy: markers ‘python_version >= “3.9”’ don’t match your environment
Ignoring numpy: markers ‘python_version == “3.7”’ don’t match your environment
Ignoring numpy: markers ‘python_version == “3.8”’ don’t match your environment
Collecting numpy==1.12
Downloading numpy-1.12.0.zip (4.8 MB)
Collecting pkgconfig
Downloading pkgconfig-1.5.2-py2.py3-none-any.whl (6.4 kB)
Collecting Cython>=0.29
Downloading Cython-0.29.23-py2.py3-none-any.whl (978 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): still running…

I have referred to Installing TensorFlow for Jetson Platform - NVIDIA Docs

What am I supposed to do?

Thank you.

Hi,

Building wheel for numpy (setup.py): still running…

Based on your log, it seems the installation is still in progress.

Please noted that since some required library will install from compiling.
It may take some time (hours) to finish the installation.

Thanks.

1 Like

However, an error message appears in red text in the middle?

Hi,

We test the instructions on Nano+JetPack4.5.1.
And the installation can work correctly without the error you met.

Would you mind to install it outside of the virtualenv.
And link it with --system-site-packages configure?

Thanks.

1 Like