我试图安装点数次,但不能。这是我的终端看起来像尝试安装PIP:无法在ubuntu上安装pip?
[email protected]:~$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~$ pip
The program 'pip' is currently not installed. You can install it by typing:
sudo apt-get install python-pip
[email protected]:~$ sudo pip
sudo: pip: command not found
[email protected]:~$
听起来像你的'$ PATH'设置为你的发行版不期望的东西。 –
@JonathonReinhart是的,我也想过......但为什么卸载和清除软件包并重新安装,然后呢?也许与依赖关系有些冲突? –
Stack Overflow是编程和开发问题的网站。这个问题似乎与题目无关,因为它不涉及编程或开发。请参阅帮助中心的[我可以询问哪些主题](http://stackoverflow.com/help/on-topic)。也许[超级用户](http://superuser.com/)或[Unix&Linux堆栈交换](http://unix.stackexchange.com/)会是一个更好的地方。另请参阅[我在哪里发布有关Dev Ops的问题?](http://meta.stackexchange.com/q/134306) – jww