I did some digging into this here: https://bitbucket.org/fkpackaging /deadsnakes-issues/issues/39/looking-for-a-new- maintainer#comment-33484057
The "default" python in zesty is python3.5, since python3.6 is a non- default python, it should install dist-packages into /usr/lib/python3.6 /dist-packages instead of /usr/lib/python3/dist-packages (at least if I'm correct :D) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631367 Title: Error in sys.excepthook: ModuleNotFoundError: No module named 'apt_pkg' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1631367/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs