简体   繁体   English

tensorflow 在 nvidia jetson tx2 上的安装问题

[英]problem with tensorflow instalation on nvidia jetson tx2

I'm trying to install tensorflow on jetson tx2.我正在尝试在 jetson tx2 上安装 tensorflow。

I have:我有:

  • ubuntu 18.04 ubuntu 18.04
  • jetpack 4.5 (Version: 4.5-b129)喷气背包 4.5(版本:4.5-b129)
  • python 3.6.9 python 3.6.9
  • pip 21.3.1 pip 21.3.1

I did step by step instruction provided by nvidia ( https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html ), but in the last step when i run command我做了 nvidia ( https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html ) 提供的分步说明,但是在我运行命令的最后一步

$ sudo pip3 install --extra-index-url http://developer.download.nvidia.com/compute/redist/jp/45 tensorflow

It returns:它返回:

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow

Note: I changed https to http to avoid SSL error.注意:我将 https 更改为 http 以避免 SSL 错误。

Ok, I find out;)好的,我知道了;)

My solution was to download.whl package with wget command:我的解决方案是使用 wget 命令下载 .whl package:

sudo wget --trusted-host https://developer.download.nvidia.com/compute/redist/jp/v45/tensorflow/tensorflow-2.5.0+nv21.6-cp36-cp36m-linux_aarch64.whl

and then directly install this package by pip3然后通过pip3直接安装这个package

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM