rope icon indicating copy to clipboard operation
rope copied to clipboard

Do not use sys.executable for pip uninstall

Open s-t-e-v-e-n-k opened this issue 1 month ago • 0 comments

Description

The system executable might be an externally managed environment[1], which means pip then refuses to uninstall the installed package, and it bubbles up as a teardown error. Use the venv to avoid that.

1: https://packaging.python.org/en/latest/specifications/externally-managed-environments/

s-t-e-v-e-n-k avatar Nov 06 '25 03:11 s-t-e-v-e-n-k