jetson nano 安裝python機器學習三方庫問題

ACE-Mayer發表於2020-12-03

jetson nano是aarm64架構,很多python三方庫不能直接pip install,以下幾個機器學習常用三方庫安裝方式:

sudo apt-get install python3-numpy 
sudo apt-get install python3-scipy
sudo apt-get install python3-pandas
sudo apt-get install python3-matplotlib
sudo apt-get install python3-sklearn

opencv-python是已經裝好的,不需要另外安裝,TensorFlow安裝方式如下:
先安裝依賴:

sudo apt-get install python3-pip libhdf5-serial-dev hdf5-tools

sudo pip3 install -U numpy grpcio absl-py py-cpuinfo psutil portpicker grpcio six mock requests gast h5py astor termcolor

再安裝TensorFlow:

sudo pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.13.1+nv19.3 --user

相關文章