Cannot uninstall 'imageio'. It is a distutils installed project and thus we cannot accurately

做智能驾驶的基于视觉车道线检测时,为了方便对视频进行处理,pip安装moviepy包。而在安装的时候,总是在Installing collected pachages:imageio环节报错: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

找了无数的方法,包括去找该文件夹或者egg-info文件,然而没有找到。也到anaconda上尝试过,然而清华镜像挂了,各种镜像挂了......就在这时候,看到了一篇让我绝处逢生的文章!!!

为了以示尊重,链接如下:https://blog.csdn.net/qq_15505637/article/details/80336754

在pip安装时,不直接采用pip install imageio,而用pip install --ignore-installed imageio就完美地解决了这个问题!

Cannot uninstall 'imageio'. It is a distutils installed project and thus we cannot accurately_第1张图片

你可能感兴趣的:(Cannot uninstall 'imageio'. It is a distutils installed project and thus we cannot accurately)