Comment 1 for bug 1627790

Revision history for this message
Dale Trombley (buzzmandt) wrote : Re: Could not import module

same here

sudo apt install python-apport
[sudo] password for buzzmandtcompaq:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-9136 linux-headers-4.4.0-9136-generic linux-headers-4.8.0-11 linux-headers-4.8.0-11-generic linux-image-4.4.0-38-generic linux-image-4.4.0-9136-generic
  linux-image-4.8.0-11-generic linux-image-extra-4.4.0-38-generic linux-image-extra-4.4.0-9136-generic linux-image-extra-4.8.0-11-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python-apt python-cffi-backend python-cryptography python-enum34 python-httplib2 python-idna python-ipaddress python-keyring python-keyrings.alt python-launchpadlib
  python-lazr.restfulclient python-lazr.uri python-oauth python-pkg-resources python-problem-report python-pyasn1 python-secretstorage python-setuptools python-simplejson python-six
  python-wadllib python-zope.interface
Suggested packages:
  python-apt-dbg python-apt-doc python-cryptography-doc python-cryptography-vectors python-enum34-doc gnome-keyring gir1.2-gnomekeyring-1.0 python-fs python-gdata python-kde4 python-keyczar
  python-testresources doc-base python-secretstorage-doc python-setuptools-doc
The following NEW packages will be installed:
  python-apport python-apt python-cffi-backend python-cryptography python-enum34 python-httplib2 python-idna python-ipaddress python-keyring python-keyrings.alt python-launchpadlib
  python-lazr.restfulclient python-lazr.uri python-oauth python-pkg-resources python-problem-report python-pyasn1 python-secretstorage python-setuptools python-simplejson python-six
  python-wadllib python-zope.interface
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,302 kB of archives.
After this operation, 7,095 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-apt amd64 1.1.0~beta5 [142 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-problem-report all 2.20.3-0ubuntu7 [9,638 B]
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-httplib2 all 0.9.1+dfsg-1 [34.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-keyring all 9.1-1 [28.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-pkg-resources all 25.2.0-1ubuntu1 [109 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-lazr.uri all 1.0.3-2build1 [13.6 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-simplejson amd64 3.8.2-2 [60.1 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-wadllib all 1.3.2-3 [28.2 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-zope.interface amd64 4.2.0-2 [80.6 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-oauth all 1.0.1-5 [12.9 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-lazr.restfulclient all 0.13.4-6 [50.8 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-launchpadlib all 1.10.4-1 [45.7 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-apport all 2.20.3-0ubuntu7 [79.2 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-cffi-backend amd64 1.7.0-1 [60.2 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-enum34 all 1.1.6-1 [34.6 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-idna all 2.1-1 [30.4 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-ipaddress all 1.0.16-1 [18.0 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-pyasn1 all 0.1.9-2 [45.4 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-setuptools all 25.2.0-1ubuntu1 [176 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-six all 1.10.0-3 [10.9 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-cryptography amd64 1.5-2 [205 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-keyrings.alt all 1.1.1-1 [15.4 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-secretstorage all 2.3.1-2 [11.8 kB]
Fetched 1,302 kB in 0s (1,479 kB/s)
Selecting previously unselected package python-apt.
(Reading database ... 266499 files and directories currently installed.)
Preparing to unpack .../00-python-apt_1.1.0~beta5_amd64.deb ...
Unpacking python-apt (1.1.0~beta5) ...
Selecting previously unselected package python-problem-report.
Preparing to unpack .../01-python-problem-report_2.20.3-0ubuntu7_all.deb ...
Unpacking python-problem-report (2.20.3-0ubuntu7) ...
Selecting previously unselected package python-httplib2.
Preparing to unpack .../02-python-httplib2_0.9.1+dfsg-1_all.deb ...
Unpacking python-httplib2 (0.9.1+dfsg-1) ...
Selecting previously unselected package python-keyring.
Preparing to unpack .../03-python-keyring_9.1-1_all.deb ...
Unpacking python-keyring (9.1-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../04-python-pkg-resources_25.2.0-1ubuntu1_all.deb ...
Unpacking python-pkg-resources (25.2.0-1ubuntu1) ...
Selecting previously unselected package python-lazr.uri.
Preparing to unpack .../05-python-lazr.uri_1.0.3-2build1_all.deb ...
Unpacking python-lazr.uri (1.0.3-2build1) ...
Selecting previously unselected package python-simplejson.
Preparing to unpack .../06-python-simplejson_3.8.2-2_amd64.deb ...
Unpacking python-simplejson (3.8.2-2) ...
Selecting previously unselected package python-wadllib.
Preparing to unpack .../07-python-wadllib_1.3.2-3_all.deb ...
Unpacking python-wadllib (1.3.2-3) ...
Selecting previously unselected package python-zope.interface.
Preparing to unpack .../08-python-zope.interface_4.2.0-2_amd64.deb ...
Unpacking python-zope.interface (4.2.0-2) ...
Selecting previously unselected package python-oauth.
Preparing to unpack .../09-python-oauth_1.0.1-5_all.deb ...
Unpacking python-oauth (1.0.1-5) ...
Selecting previously unselected package python-lazr.restfulclient.
Preparing to unpack .../10-python-lazr.restfulclient_0.13.4-6_all.deb ...
Unpacking python-lazr.restfulclient (0.13.4-6) ...
Selecting previously unselected package python-launchpadlib.
Preparing to unpack .../11-python-launchpadlib_1.10.4-1_all.deb ...
Unpacking python-launchpadlib (1.10.4-1) ...
Selecting previously unselected package python-apport.
Preparing to unpack .../12-python-apport_2.20.3-0ubuntu7_all.deb ...
Unpacking python-apport (2.20.3-0ubuntu7) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../13-python-cffi-backend_1.7.0-1_amd64.deb ...
Unpacking python-cffi-backend (1.7.0-1) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../14-python-enum34_1.1.6-1_all.deb ...
Unpacking python-enum34 (1.1.6-1) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../15-python-idna_2.1-1_all.deb ...
Unpacking python-idna (2.1-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../16-python-ipaddress_1.0.16-1_all.deb ...
Unpacking python-ipaddress (1.0.16-1) ...
Selecting previously unselected package python-pyasn1.
Preparing to unpack .../17-python-pyasn1_0.1.9-2_all.deb ...
Unpacking python-pyasn1 (0.1.9-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../18-python-setuptools_25.2.0-1ubuntu1_all.deb ...
Unpacking python-setuptools (25.2.0-1ubuntu1) ...
Selecting previously unselected package python-six.
Preparing to unpack .../19-python-six_1.10.0-3_all.deb ...
Unpacking python-six (1.10.0-3) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../20-python-cryptography_1.5-2_amd64.deb ...
Unpacking python-cryptography (1.5-2) ...
Selecting previously unselected package python-keyrings.alt.
Preparing to unpack .../21-python-keyrings.alt_1.1.1-1_all.deb ...
Unpacking python-keyrings.alt (1.1.1-1) ...
Selecting previously unselected package python-secretstorage.
Preparing to unpack .../22-python-secretstorage_2.3.1-2_all.deb ...
Unpacking python-secretstorage (2.3.1-2) ...
Setting up python-idna (2.1-1) ...
Setting up python-simplejson (3.8.2-2) ...
Setting up python-keyring (9.1-1) ...
Setting up python-pyasn1 (0.1.9-2) ...
Setting up python-pkg-resources (25.2.0-1ubuntu1) ...
Setting up python-keyrings.alt (1.1.1-1) ...
Setting up python-httplib2 (0.9.1+dfsg-1) ...
Setting up python-problem-report (2.20.3-0ubuntu7) ...
Setting up python-cffi-backend (1.7.0-1) ...
Setting up python-six (1.10.0-3) ...
Setting up python-zope.interface (4.2.0-2) ...
Setting up python-lazr.uri (1.0.3-2build1) ...
Setting up python-enum34 (1.1.6-1) ...
Setting up python-oauth (1.0.1-5) ...
Setting up python-apt (1.1.0~beta5) ...
Setting up python-ipaddress (1.0.16-1) ...
Setting up python-setuptools (25.2.0-1ubuntu1) ...
Setting up python-wadllib (1.3.2-3) ...
Setting up python-cryptography (1.5-2) ...
Setting up python-secretstorage (2.3.1-2) ...
Setting up python-lazr.restfulclient (0.13.4-6) ...
Setting up python-launchpadlib (1.10.4-1) ...
Setting up python-apport (2.20.3-0ubuntu7) ...
buzzmandtcompaq@buzzmandtcompaq-Compaq-Presario-CQ60-Notebook-PC:~$ apport-collect 1625595
ERROR: Could not import module, is a package upgrade in progress? Error: No module named PyQt5.QtCore
buzzmandtcompaq@buzzmandtcompaq-Compaq-Presario-CQ60-Notebook-PC:~$