安裝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

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