Xavier environment installation

Ros Python3.6 Dependencies Installation

sudo apt-get install python3-yaml
python3.6 -m pip install easydict

#for "ImportError: No Module Name 'rospkg' "
sudo apt-get install python3-catkin-pkg-modules
sudo apt-get install python3-rospkg-modules

Tensorflow on PY36 Installation Steps

Step1. Install python3.6

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

Step2. Install tensorflow dependecies

sudo apt-get install python3-pip
sudo apt-get install zlib1g-dev zip libjpeg8-dev libhdf5-dev python3.6-dev python3-yaml
python3.6 -m pip install -U  --user numpy grpcio absl-py py-cpuinfo psutil portpicker grpcio six mock requests gast astor termcolor
sudo python3.6 -m pip install h5py --user

Step3. Install tensorflow

Verify the installation

ISSUE: ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

Solution:

ISSUE: ImportError: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11' not found

Solution:

ISSUE: ImportError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found

Follow guide: https://zhuanlan.zhihu.com/p/33059558

Solution: update GLIBC to specific version(>=2.27)

Step0. Check GLIBC version

Step1. Download & make install GLIBC

Tensorflow on PY27 Installation Steps

Step1. Download Tensorflow .whl for URL below

Step2. Install .whl File

Step3. Done and Verify

OpenCV Installation Steps(Depreciate)

Follow this: https://cyaninfinite.com/installing-opencv-in-ubuntu-for-python-3/

Numba Installation(Depreciate)

Step1. install llvm >=7.0

llvm download page: http://releases.llvm.org/download.html

Step2. install llvmlite >=0.28

Step3. install dependencies

Step4. install numba (testing)

Reference Documents

Last updated

Was this helpful?