安装moviepy

第一次安装:pip install 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-install imageio
安装结果:

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\users\ymz\anaconda3\Lib\site-packages\numpy\.libs\libopenblas.PYQHXLVVQ7VESDPUVUADXEVJOBGHJPAY.gfortran-win_amd64.dll'
Consider using the `--user` option or check the permissions.

解决方案:pip install --user moviepy --ignore-install imageio

安装成功了

原文地址:https://www.cnblogs.com/Fiona-Y/p/13032161.html