rope
rope copied to clipboard
Do not use sys.executable for pip uninstall
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/