2017-02-27 94 views
2

如被上面提到的,我試圖安裝python-PIP和python-dev的使用命令:不能滿足的依賴當安裝Python-PIP和python-dev的

sudo apt-get install python-pip python-dev 

然後我得到:

sudo apt-get install python-pip python-dev 
[sudo] password for tailongnguyen: 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
python-dev : Depends: python (= 2.7.11-1) but 2.7.12-1 is to be installed 
python-pip : Depends: python:any (< 2.8) 
      Depends: python:any (>= 2.7.5-5~) 
      Recommends: python-all-dev (>= 2.6) but it is not going to be installed 
      Recommends: python-setuptools but it is not going to be installed 
      Recommends: python-wheel but it is not going to be installed 
E: Unable to correct problems, you have held broken packages. 

我現在需要做什麼? 我試圖

sudo apt-get update 
sudo apt-get upgrade 

,但它並沒有幫助

+0

嘗試使用'sudo apt-get的安裝-f' http://stackoverflow.com/questions/26571326/how-do-i-resolve-the-following-packages-have-unmet-dependencies –

+0

我試過但錯誤仍然發生 –

回答

相關問題