Jetson AGX Xavier安装TensorFlow
参考https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/#prereqs
1. 安装系统包
sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
2. 安装pip3
sudo apt-get install python3-pip
3. pip3换源
https://www.cnblogs.com/gloria-zhang/p/12844017.html
4. 升级pip3
sudo pip3 install -U pip testresources setuptools
5. 安装python软件包依赖项
sudo pip3 install -U numpy==1.16.1 future==0.17.1 mock==3.0.5 h5py==2.9.0 keras_preprocessing==1.0.5 keras_applications==1.0.8 gast==0.2.2 futures protobuf pybind11
6. 安装TensorFlow
sudo pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v$JP_VERSION tensorflow
JP_VERSION:JetPack版本,如42是JetPack 4.2.2。