Explicitly setting PYTHONPATH to /usr/local/lib/site-python does the trick OMM (16.04). Whether it's best to then copy-paste /etc/sitecustomize.py into the local one, get into imp/importlib machinery, or decide one doesn't care about apport, is left as an exercise to the reader.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/197219 Title: /usr/local/lib/python/sitecustomize.py broken due to overriding sitecustomize in /etc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/diveintopython/+bug/197219/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
