安装librosa出现ERROR: Cannot uninstall 'llvmlite'的解决办法

一、激活环境,使用pip install package即可安装指定的包到当前的虚拟环境

二、使用which pip查询到当前pip的所在位置,即可将package 安装到当前pip所在的环境,但更推荐使用一****

/hone/user/anaconda3/bin/pip install package

BUT:我在安装librosa的时候出现如下错误。
ERROR: 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.
我的解决办法是:

pip install librosa --ignore-installed llvmlite

reference:
https://github.com/blockstack/blockstack-core/issues/504

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章