I experience the same problem with python 3.5 on Xenial.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832215
Title:
If python package is installed under
get_python_lib(prefix='/usr/local') it
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python3-stdlib-extensions (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The attachment "1832215.patch" seems to be a patch. If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray,
Attaching patch for an issue
** Patch added: "1832215.patch"
https://bugs.launchpad.net/ubuntu/+source/python3-stdlib-extensions/+bug/1832215/+attachment/5269911/+files/1832215.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
The root cause is the Debian patch: https://salsa.debian.org/cpython-
team/python3-stdlib/blob/master/debian/patches/3.6/distutils-install-
layout.diff
The patch changes behavior of the `get_python_lib` for two paths '/usr' and
'/usr/local', see: