I think sys.excepthook shouldn't be set in sitecustomize.py if required modules such as apt_pkg don't exist.
I think sys.excepthook shouldn't be set in sitecustomize.py if required modules such as apt_pkg don't exist.