我正在尝试通过 python3.5 安装 pip,但我的 Ubuntu 16.04 无法执行此操作。我正在执行该命令sudo apt-get install python3.5-pip
,然后得到如下结果:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.5-pip
E: Couldn't find any package by glob 'python3.5-pip'
E: Couldn't find any package by regex 'python3.5-pip'
答案1
根据下面帖子中的答案,pip
应该已经安装了,因为你使用的是 Python 3.4+
https://stackoverflow.com/questions/6587507/how-to-install-pip-with-python-3
如果你没有安装,请尝试运行以下命令
sudo apt-get install python3-pip