Cannot install librosa python, how can I uninstall llvmlite?
Asked Answered
M

3

11

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.

Monocular answered 8/11, 2019 at 12:32 Comment(0)
C
30

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
Chemistry answered 8/11, 2019 at 21:6 Comment(1)
This worked (got through install), however when I try to import the installed library, it does not show up..Diedrediefenbaker
B
9

Let me try to help.

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

--ignore-installed
Breaking answered 8/11, 2019 at 13:48 Comment(2)
But how do I use it? I've tried pip install librosa --ignore-installed but I get the same errorMonocular
pip install --ignore-installed librosaRaimundo
M
8

You can use:

pip install librosa --ignore-installed llvmlite
Miguelinamiguelita answered 24/9, 2021 at 7:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.