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

在安装moviepy的时候,出现这种错误

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.

网上找了下教程,用以下命令

pip install moviepy --ignore-installed

但用了之后,还是出现了下面这种新的错误提示

ERROR: Could not install packages due to an EnvironmentError:
 [WinError 5] 拒绝访问。: 'e:\\anaconda3\\Lib\\site-packages\\numpy\\linalg\\lapack_lite.cp36-win_amd64.pyd' Consider using the `--user` option or check the permissions.

最后加上–user这个参数就行了

pip install --user moviepy --ignore-installed
发布了50 篇原创文章 · 获赞 52 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/qq_43058685/article/details/104221009
今日推荐