Public bug reported:
In a fresh installation of Ubuntu 16.04, I install python, and python-
utmp. I run python and try to import utmp. The import fails as
follows:
$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import utmp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/utmp.py", line 1, in <module>
import utmpaccess
ImportError: No module named utmpaccess
>>>
Description: Ubuntu 16.04 LTS
Release: 16.04
$ apt-cache policy python
python:
Installed: 2.7.11-1
Candidate: 2.7.11-1
Version table:
*** 2.7.11-1 500
500 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf Packages
100 /var/lib/dpkg/status
$ apt-cache policy python-utmp
python-utmp:
Installed: 0.8.2
Candidate: 0.8.2
Version table:
*** 0.8.2 500
500 http://ports.ubuntu.com/ubuntu-ports xenial/universe armhf Packages
100 /var/lib/dpkg/status
** Affects: python-utmp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578261
Title:
import utmp fails with ImportError: No module named utmpaccess
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-utmp/+bug/1578261/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs