-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not work on Ubuntu-based systems #22
Comments
Is that in system python or a venv? I'm 99.999% certain it is the former based on the output. Distro's are putting up more and more walls to prevent users from altering the system Python via Pip. (I fully agree with this decision.) See PEP668. |
This is system-python + any virtualenv created from system-python. the main problem is the location where ubuntu puts this sitecustomize: in the standard library
my current solution is
this way I won't leak into virtualenvs. |
my usecases are triggered by ubuntu-based docker-images. wondering what we can do on our side. |
let's start by packaging ubuntu's sitecustomize into an entrypoint: |
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
The text was updated successfully, but these errors were encountered: