我試圖安裝點數次,但不能。這是我的終端看起來像嘗試安裝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