artyshko / smd

Spotify Music Downloader
MIT License
1.36k stars 237 forks source link

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

Open kaletaa opened 5 years ago

kaletaa commented 5 years ago

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.
spvkgn commented 5 years ago

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.
todestoast commented 5 years ago

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/
fluidum commented 5 years ago

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

gustawdaniel commented 4 years ago

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

arian81 commented 4 years ago

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