Cannot install librosa python, how can I uninstall llvmlite?

Josemi  picture Josemi · Nov 8, 2019 · Viewed 8.1k times · Source

I have recently tried to install librosa on Windows using pip install librosa. Nevertheless, this error appears:

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

As a solution, I have executed conda update --all, and conda install numba=0.39.0, without any improvement.

Thank you in advanced.

Answer

sr.perro picture sr.perro · Nov 8, 2019

You just have to type the command you want to execute with the --user tag. In your case, it would be:

pip install librosa --user