-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Today I discovered Ubuntu ships the system python with a sitecustomize
that always takes precedence over the pip installed "sitecustomize-entrypoints", even in a virtualenv
└─$ python3
Python 3.11.6 (main, Oct 8 2023, 05:06:43) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sitecustomize as sc
>>> sc.__file__
'/usr/lib/python3.11/sitecustomize.py'
cat /usr/lib/python3.11/sitecustomize.py:
# install the apport exception handler if available
try:
import apport_python_hook
except ImportError:
pass
else:
apport_python_hook.install()
Metadata
Metadata
Assignees
Labels
No labels