1. 程式人生 > >NVIDIA JETSON - Jetson TX2 - E: Unable to locate package python-pip / libgeos-dev

NVIDIA JETSON - Jetson TX2 - E: Unable to locate package python-pip / libgeos-dev

NVIDIA JETSON - Jetson TX2 - E: Unable to locate package python-pip / libgeos-dev

異常問題
E: Unable to locate package python-pip

[email protected]:~$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip

E: Unable to locate package libgeos-dev

[email protected]:~$ sudo apt-get install -y libgeos-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgeos-dev

解決方案
方法 1. sudo apt-get update

sudo apt-get update && sudo apt-get install python-pip

方法 2. sudo apt-get install software-properties-common
python-pip is in the universe repositories, therefore use the steps below:

sudo apt-get update
sudo apt-get install -y software-properties-common
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install -y python-pip

PC

[email protected]
:~$ sudo dpkg --print-architecture [sudo] password for strong: amd64 [email protected]:~$ sudo dpkg --print-foreign-architectures i386 [email protected]:~$

TX2

[email protected]:~$ sudo dpkg --print-architecture
[sudo] password for strong:
arm64
[email protected]:~$
[email protected]2:~$ sudo dpkg --print-foreign-architectures
[email protected]:~$