10

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.

Amol Bais
  • 332
  • 1
  • 6
  • 30
Josemi
  • 314
  • 1
  • 4
  • 20

3 Answers3

28

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
andrewgazelka
  • 1,746
  • 1
  • 16
  • 26
sr.perro
  • 296
  • 2
  • 2
  • 1
    This worked (got through install), however when I try to import the installed library, it does not show up.. – Zach Oakes Jan 27 '21 at 16:47
7

Let me try to help.

I recently faced that problem and get rid from it by using following command.

--ignore-installed
Adam Strauss
  • 1,889
  • 2
  • 15
  • 45
5

You can use:

pip install librosa --ignore-installed llvmlite
ah bon
  • 9,293
  • 12
  • 65
  • 148