Python version causes the software not to be installed and uninstalled

Source: Internet
Author: User

The following is the output of the bug:

Reading Package List ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
0 packages were upgraded, 0 new packages were installed, 0 packages were uninstalled, 38 packages were not upgraded.
There are 22 packages that are not fully installed or uninstalled.
After decompression, it consumes 0 B of extra space.
Setting Python-pymysql (0.7.2-1UBUNTU1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-pymysql (--configure):
Child process installed Post-Installation script returns error status 1
Setting PYTHON-ANTLR (2.7.7+DFSG-6UBUNTU1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package PYTHON-ANTLR (--configure):
Child process installed Post-Installation script returns error status 1
Setting python-cvxopt (1.1.4-1.4) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-cvxopt (--configure):
Child process installed Post-Installation script returns error status 1
Setting Python-decorator (4.0.6-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-decorator (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting python-jdcal (1.0-1build1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-jdcal (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-joblib (0.9.4-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-joblib (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-mpmath (0.19-3) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package Python-mpmath (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting python-numexpr (2.4.3-1UBUNTU1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-numexpr (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
The Apport report was not written because the maxreports limit has been reached.
Dpkg: Dependency issues make the PYTHON-OPENPYXL configuration work impossible to continue:
The PYTHON-OPENPYXL relies on python-jdcal, however:
Package python-jdcal is not yet configured.

DPKG: Error processing package PYTHON-OPENPYXL (--configure):
Dependency issues-Still not configured
Setting Python-pandas (0.17.1-3UBUNTU2) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package Python-pandas (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-patsy (0.4.1-2) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package Python-patsy (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting python-ptyprocess (0.5-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-ptyprocess (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-py (1.4.31-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-py (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-pyglet (1.1.4.dfsg-3) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package Python-pyglet (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Dpkg: Dependency issues make the python-pytest configuration work impossible to continue:
Python-pytest relies on python-py (>= 1.4.29);
Package Python-py is not yet configured.

DPKG: Error processing package python-pytest (--configure):
Dependency issues-Still not configured
Dpkg: Dependency issues make the python-sympy configuration work impossible to continue:
The Python-sympy relies on Python-mpmath, however:
Package Python-mpmath is not yet configured.

DPKG: Error processing package python-sympy (--configure):
Dependency issues-Still not configured
The Apport report was not written because the maxreports limit has been reached.
The Apport report was not written because the maxreports limit has been reached.
Dpkg: Dependency issues make the python-tables configuration work impossible to continue:
The python-tables relies on python-numexpr, however:
Package python-numexpr is not yet configured.

DPKG: Error processing package python-tables (--configure):
Dependency issues-Still not configured
The Apport report was not written because the maxreports limit has been reached.
Setting Python-tornado (4.2.1-1UBUNTU3) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package Python-tornado (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting python-xlrd (0.9.4-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package PYTHON-XLRD (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Dpkg: Dependency issues make the PYTHON-XLWT configuration work impossible to continue:
The PYTHON-XLWT relies on PYTHON-ANTLR, however:
Package PYTHON-ANTLR is not yet configured.

DPKG: Error processing package PYTHON-XLWT (--configure):
Dependency issues-Still not configured
Setting PYTHON-ZMQ (15.2.0-0UBUNTU4) ...
The Apport report was not written because the maxreports limit has been reached.
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package PYTHON-ZMQ (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
Setting Python-simplegeneric (0.8.1-1) ...
Traceback (most recent):
File "/usr/bin/pycompile", line A, in <module>
From debpython.version import supported, debsorted, VREPR, \
File "/usr/share/python/debpython/version.py", line, in <module>
From Configparser import Safeconfigparser
Importerror:no module named ' Configparser '
DPKG: Error processing package python-simplegeneric (--configure):
Child process installed Post-Installation script returns error status 1
The Apport report was not written because the maxreports limit has been reached.
An error occurred while processing:
Python-pymysql
Python-antlr
Python-cvxopt
Python-decorator
Python-jdcal
Python-joblib
Python-mpmath
python-numexpr
Python-openpyxl
Python-pandas
Python-patsy
Python-ptyprocess
Python-py
Python-pyglet
Python-pytest
Python-sympy
Python-tables
Python-tornado
Python-xlrd
Python-xlwt
Python-zmq
Python-simplegeneric
E:sub-process/usr/bin/dpkg returned an error code (1)

I want to delete the above python-*, but I will still prompt the above error:

sudo apt-get AutoClean

sudo apt-get autoremove

I would like to be a python version of the cause, so I switched to python2.7 and then execute the above deleted command, the result is an error

Python version causes the software not to be installed and uninstalled

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.