3

I am getting this error when trying to import 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.'

I am using Windows 7 64-bit. I am working on my conda environment. conda version: 4.6.1. python version: 3.5.3

closed as off-topic by fixer1234, Twisty Impersonator, music2myear, Pimp Juice IT, Mike Fitzpatrick Feb 8 at 6:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – fixer1234, music2myear, Pimp Juice IT, Mike Fitzpatrick
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to Super User! You can freely edit your own posts but for your protection, this must be done under the original user account. It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See Merge my accounts to get your accounts merged, which will solve the problem. – fixer1234 Feb 7 at 8:56
7

That's caused by the update of imageio

Use this instead:

sudo pip3 install imageio==2.4.1
  • This actually works. I hit and tried a lot of other options on internet, wasn't believing this will be the solution but when nothing worked tried above and it works. I misunderstood above thinking i have to upgrade the package to 2.4.1 but it actually as far as I understand means to downgrade the package to 2.4.1. the latest that was installed on my machine was 2.5.0. Once downgraded to 2.4.1 it works. Thank You – Anmol Saraf Feb 9 at 12:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.