As a workaround, I removed the 3.7 sitecustomize.py files:

  squirrel:~ 0:7> sudo rm /etc/python3.7/sitecustomize.py
/usr/lib/python3.7/sitecustomize.py

The above files were apparently installed by libpython3.7-minimal:

  squirrel:~ 0:8> dpkg -S /etc/python3.7/sitecustomize.py 
/usr/lib/python3.7/sitecustomize.py
  libpython3.7-minimal:amd64: /etc/python3.7/sitecustomize.py
  libpython3.7-minimal:amd64: /usr/lib/python3.7/sitecustomize.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774843

Title:
  apport python exception handler messes up python3.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1774843/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to