[issue45513] PIP error Cannot call rmtree on a symbolic link should report the lilnk

Timothe Litt report at bugs.python.org
Mon Oct 18 09:31:04 EDT 2021


New submission from Timothe Litt <tlhackque at yahoo.com>:

Debugging this would be a whole lot easier if the symlink in question was in the error message... (Not to mention that "successfully uninstalled the installer followed by why the new one can't be installed isn't a good thing....)

pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.10/site-packages (21.2.3)
Collecting pip
  Using cached pip-21.3-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.3
    Uninstalling pip-21.2.3:
      Successfully uninstalled pip-21.2.3
ERROR: Could not install packages due to an OSError: Cannot call rmtree on a symbolic link

----------
components: Installation
messages: 404186
nosy: tlhackque
priority: normal
severity: normal
status: open
title: PIP error Cannot call rmtree on a symbolic link should report the lilnk
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45513>
_______________________________________


More information about the Python-bugs-list mailing list