Can't uninstall "cryptography" after installing "requests[security]" #6321
Labels
auto-locked
Outdated issues that have been locked by automation
C: uninstall
The logic for uninstallation of packages
resolution: duplicate
Duplicate of an existing issue/PR
Environment
This bug seems to be recent since pip 18.1 doesn't appear to show this behavior.
Description
After installing "requests[security]" which will in turn install "cryptography" as a dependency, it becomes impossible to uninstall the "cryptography" as you end up with a permissions error that only the root user can work around.
Expected behavior
Should be able to uninstall the package as the same user who performed the install.
How to Reproduce
Create a virtual environment and make sure pip is updated to 19.0.3. Install "requests[security]" and then try to uninstall "cryptography". You will get a permissions error on a subdirectory "bindings".
Output
The text was updated successfully, but these errors were encountered: