版权声明:世上没有白读的书,每一页都算数。 https://blog.csdn.net/chengyq116/article/details/83830423
NVIDIA JETSON - Jetson TX2 - E: Unable to locate package python-pip / libgeos-dev
异常问题
E: Unable to locate package python-pip
strong@ubuntu:~$ 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
strong@ubuntu:~$ 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
strong@foreverstrong:~$ sudo dpkg --print-architecture
[sudo] password for strong:
amd64
strong@foreverstrong:~$ sudo dpkg --print-foreign-architectures
i386
strong@foreverstrong:~$
TX2
strong@tx2:~$ sudo dpkg --print-architecture
[sudo] password for strong:
arm64
strong@tx2:~$
strong@tx2:~$ sudo dpkg --print-foreign-architectures
strong@tx2:~$