This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PIP error Cannot call rmtree on a symbolic link should report the lilnk
Type: enhancement Stage: resolved
Components: Installation Versions: Python 3.10
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, tlhackque
Priority: normal Keywords:

Created on 2021-10-18 13:31 by tlhackque, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg404186 - (view) Author: Timothe Litt (tlhackque) Date: 2021-10-18 13:31
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
msg404193 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2021-10-18 15:37
This appears to be an issue with pip. You should report the issue to the pip project: https://github.com/pypa/pip/issues/
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89676
2021-10-18 15:37:15ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg404193

resolution: third party
stage: resolved
2021-10-18 13:31:04tlhackquecreate