Moviepy.editorをインポートしようとすると、このエラーが発生します。
>>> import moviepy.editor
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\admin\Anaconda3\envs\myOpenCVEnv\lib\site-packages\moviepy\edit
or.py", line 26, in <module>
imageio.plugins.ffmpeg.download()
File "C:\Users\admin\Anaconda3\envs\myOpenCVEnv\lib\site-packages\imageio\plug
ins\ffmpeg.py", line 40, in download
"imageio.ffmpeg.download() has been deprecated. "
RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install im
ageio-ffmpeg' instead.'
>>> import imageio
>>> imageio.plugins.ffmpeg.download()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\admin\Anaconda3\envs\myOpenCVEnv\lib\site-packages\imageio\plug
ins\ffmpeg.py", line 40, in download
"imageio.ffmpeg.download() has been deprecated. "
RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install im
ageio-ffmpeg' instead.'
Windows 7 64ビットを使用しています。私は私のコンダ環境に取り組んでいます。 condaバージョン:4.6.1。 pythonバージョン:3.5.3
imageio
の更新が原因です
代わりにこれを使用してください:
Sudo pip3 install imageio==2.4.1