package python-pymysql 0.7.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1627163 reported by Matthew
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pymysql (Ubuntu)
Expired
Low
Unassigned

Bug Description

Trying to sudo apt-get install ipython-notebook

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-pymysql 0.7.2-1
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Fri Sep 23 20:16:34 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-09-28 (725 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: python-pymysql
Title: package python-pymysql 0.7.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-09-21 (1 days ago)

Revision history for this message
Matthew (mattreid99) wrote :
tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'

Revision history for this message
James Page (james-page) wrote :
Revision history for this message
James Page (james-page) wrote :

libpython2.7-minimal:amd64: /usr/lib/python2.7/ConfigParser.py

Revision history for this message
James Page (james-page) wrote :

# python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ConfigParser import SafeConfigParser
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'ConfigParser'

Any chance your /usr/bin/python is not actually pointing to /usr/bin/python2.7?

Changed in python-pymysql (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-pymysql (Ubuntu) because there has been no activity for 60 days.]

Changed in python-pymysql (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.