sub-process /usr/bin/dpkg returned an error code (1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried to install python-pip package and got the following log error:
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error al procesar el paquete python-pip (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando python-setuptools (20.7.0-1) ...
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error al procesar el paquete python-setuptools (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando python-wheel (0.29.0-1) ...
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error al procesar el paquete python-wheel (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para libc-bin (2.23-0ubuntu5) ...
Se encontraron errores al procesar:
python-pip
python-setuptools
python-wheel
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm working on Ubuntu 16.04
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-pip 8.1.1-2ubuntu0.4
ProcVersionSign
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Thu Nov 2 14:30:07 2017
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2017-09-20 (43 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: python-pip
Title: package python-pip 8.1.1-2ubuntu0.4 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)
that very much smells like you changed your python symlink pointing to python3. don't do that.