使用pip install時遇到的問題:ERROR: Cannot uninstall 'imageio'. It is a distutils installed project and thus we cannot ……


這不是我第一次遇到這個問題了,記錄一下以備下次遇到:

我輸入的命令是:pip install -U scikit-image  -i https://mirrors.aliyun.com/pypi/simple/

ERROR: Cannot uninstall 'imageio'. 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.

 

 在命令中加入--ignore-installed即可跳過imageio,輸入pip install -U scikit-image --ignore-installed imageio  -i https://mirrors.aliyun.com/pypi/simple/ 后成功地完成install

最后使用了import試了一下:

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM