I am installing the following python module
pip install ipaddress-1.0.23-py2.py3-none-any.whl
the pip failed on
Processing ipaddress-1.0.23-py2.py3-none-any.whl
Installing collected packages: ipaddress
Attempting uninstall: ipaddress
Found existing installation: ipaddress 1.0.16
ERROR: Cannot uninstall 'ipaddress'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
What isn’t clear here why pip trying to uninstall the current pkg - ipaddress 1.0.16
As all can see we not using the option --force-reinstall
So why pip install
is removing the current - ipaddress 1.0.16
?
Reference - Difference between pip install options "ignore-installed" and "force-reinstall"