smd icon indicating copy to clipboard operation
smd copied to clipboard

OSError: unable to install ffmpeg-linux64-v3.3.1

Open kaletaa opened this issue 5 years ago • 5 comments

Hello, I've solved the imageio issue, but I'm facing another one Full traceback:

Traceback (most recent call last):
  File "./main.py", line 3, in <module>
    from youtube import Youtube
  File "/home/levente/Stuff/packages/smd/youtube.py", line 13, in <module>
    from moviepy.editor import *
  File "/home/levente/.local/lib64/python3.6/site-packages/moviepy/editor.py", line 26, in <module>
    imageio.plugins.ffmpeg.download()
  File "/home/levente/.local/lib64/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 79, in download
    get_remote_file(fname=fname, directory=directory, force_download=force_download)
  File "/home/levente/.local/lib64/python3.6/site-packages/imageio/core/fetching.py", line 130, in get_remote_file
    _fetch_file(url, filename)
  File "/home/levente/.local/lib64/python3.6/site-packages/imageio/core/fetching.py", line 189, in _fetch_file
    % os.path.basename(file_name)
OSError: Unable to download 'ffmpeg-linux64-v3.3.1'. Perhaps there is a no internet connection? If there is, please report this problem.

kaletaa avatar Mar 24 '19 14:03 kaletaa

v1.7.1 and the error still exists

$ python main.py --help
Traceback (most recent call last):
  File "main.py", line 3, in <module>
    from youtube import Youtube
  File "/home/pavel/apps/standalone/smd/youtube.py", line 16, in <module>
    from moviepy.editor import *
  File "/home/pavel/venv/smd/lib/python3.6/site-packages/moviepy/editor.py", line 26, in <module>
    imageio.plugins.ffmpeg.download()
  File "/home/pavel/venv/smd/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 73, in download
    force_download=force_download)
  File "/home/pavel/venv/smd/lib/python3.6/site-packages/imageio/core/fetching.py", line 127, in get_remote_file
    _fetch_file(url, filename)
  File "/home/pavel/venv/smd/lib/python3.6/site-packages/imageio/core/fetching.py", line 183, in _fetch_file
    os.path.basename(file_name))
OSError: Unable to download 'ffmpeg-linux64-v3.3.1'. Perhaps there is a no internet connection? If there is, please report this problem.

spvkgn avatar Sep 15 '19 12:09 spvkgn

Had the same error. No fix, but workaround:

$ wget https://github.com/imageio/imageio-binaries/raw/master/ffmpeg/ffmpeg.linux64
$ mv ffmpeg.linux64 ~/.imageio/ffmpeg/

todestoast avatar Oct 01 '19 11:10 todestoast

Had the same error. No fix, but workaround:

$ wget https://github.com/imageio/imageio-binaries/raw/master/ffmpeg/ffmpeg.linux64
$ mv ffmpeg.linux64 ~/.imageio/ffmpeg/

I had to tune it for Ubuntu 18.04.3 LTS: $ wget https://github.com/imageio/imageio-binaries/raw/master/ffmpeg/ffmpeg.linux64 $ mv ffmpeg.linux64 ~/.imageio/ffmpeg/ffmpeg-linux64-v3.3.1

fluidum avatar Oct 13 '19 12:10 fluidum

We can close this issue. Solution typed by @noraisk works great.

gustawdaniel avatar Dec 28 '19 14:12 gustawdaniel

I'm still encountering this problem and I did what people suggest here but the problem is still at it's place

arian81 avatar Feb 08 '20 02:02 arian81