Tag Archives: ERROR: Cannot uninstall ‘llvmlite’. It is a distutils installed project.

[Solved] error: cannot uninstall ‘llvmlite’. It is a distutils installed project

Error: cannot uninstall ‘llvmlite’. It is a distutils installed project

 

Cause of error: This is a distutils installation project, so we can’t accurately determine the files belonging to this file, which will only lead to partial uninstallation.

Generally, the version you install is a new version, which requires the old version of uninstalling. However, it cannot be completely uninstalled by directly using the PIP uninstall + library name, so the roughest way is to delete the old version files directly.

Solution: go to anaconda3 → lib → site-packages, find the corresponding old version file, and delete it directly.

For example, the problem I encountered: error: cannot uninstall ‘llvmlite’

Enter site-packages, find the file llvmlite-0.23.1-py3.6.egg-info, and delete it directly