[Solved] PIP Error: “Cannot uninstall ‘six’. It is a distutils installed project…”

Reference:

PIP “cannot install ‘six’. It is a distutils installed project…” solution

When upgrading six, we encountered the problem of unable to install. The error log is as follows:

Cannot uninstall 'six'. 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.

Cause of error: Six issue when installing package

Solution:

sudo pip install six --upgrade --ignore-installed six

Similar Posts: