需要在Ubuntu的Amazon EC2实例上安装像pip、numpy、cv2这样的Python包。我尝试使用sudo apt-get install python-pip命令,但是遇到了以下错误:
ubuntu@ip-172-31-35-131:~$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip
sudo apt-get install python3-pip
安装成功了。 - David Beauchemin