Dependências não atendidas ao tentar instalar o python3-pip no Ubuntu 18.04

0
lokesh@lokesh-pc:~$ python3 --version
Python 3.6.5
lokesh@lokesh-pc:~$ pip3 --version
bash: pip3: command not found
lokesh@lokesh-pc:~$ sudo apt-get install python3-pip
[sudo] password for lokesh: 
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:
 python3-pip : Depends: python-pip-whl (= 9.0.1-2) but 9.0.1-2.3 is to be installed
               Recommends: python3-dev (>= 3.2) but it is not going to be installed
               Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
    
por Lokesh Pandey 17.05.2018 / 04:48

1 resposta

0

  1. Certifique-se de remover todas as fontes não padrão de sources.lst
  2. Verifique e remova todo o software que foi instalado anteriormente, mas que tenha deixado alguns pacotes
  3. apt update
  4. Instalar
por sssnek 18.06.2018 / 22:46