I tried several times to install TensorFlow but failed as a result

p@ubuntu:~/bazel-0.10.0-dist$ ./compile.sh
🍃 Building Bazel from scratch…unzip -qn third_party/asm/asm-analysis-6.0-sources.jar -d /tmp/bazel_68YXv3CH/classes
error: invalid zip file with overlapped components (possible zip bomb)

Hi,

You can use our prebuilt instead of building from the source.

Thanks.

I followed the instruction step by step and stuck here.

p@ubuntu:~$ sudo pip3 install -U numpy==1.22 future==0.18.2 mock==3.0.5 keras_preprocessing==1.1.2 keras_applications==1.0.8 gast==0.4.0 protobuf pybind11 cython pkgconfig packaging h5py==3.6.0
Keyring is skipped due to an exception: org.freedesktop.DBus.Error.TimedOut: Failed to activate service ‘org.freedesktop.secrets’: timed out (service_start_timeout=120000ms)
WARNING: The directory ‘/home/p/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag.
ERROR: Could not find a version that satisfies the requirement numpy==1.22 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5)
ERROR: No matching distribution found for numpy==1.22

Thanks.

How do I use the prebuild?

Hi,

Sorry, the dependencies are slightly different between JetPack 4 and JetPack 5.
Please try to follow the instructions in the below topic instead:

Thanks.

Thank you.

ERROR 404: Not Found.

p@ubuntu:~$ sudo wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tens…
–2023-10-11 22:01:52-- https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tens…
Resolving developer.download.nvidia.com (developer.download.nvidia.com)… 152.195.19.142
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.195.19.142|:443… connected.
HTTP request sent, awaiting response… 404 Not Found
2023-10-11 22:01:52 ERROR 404: Not Found.

Hi,

Could you check it again? We can download it normally.

$ sudo wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl
--2023-10-12 15:41:58--  https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.39.144|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 353666268 (337M) [application/octet-stream]
Saving to: ‘tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl.1’

                     tensorflow-2.7.0+nv22.1-cp   1%[>                                                                                                    ]   6.57M  10.7MB/s

Thanks.

I tried it more than 10 times last night but to no avail. I will try it again.

Do I need to do it all over again or just type in “sudo wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0+nv22.1-cp36-cp36m-linux_aarch64.whl

Thank you,

Hi,

Just do the wget is enough to download the package.

If it doesn’t work, could you check if you can open the below link?
https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/

Thanks.

It works. Thank you.

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