Thursday, January 4, 2018

imageio.core.fetching.NeedDownloadError




import matplotlib.pyplot as plt
import cv2
import os, glob
import numpy as np
from moviepy.editor import VideoFileClip

%matplotlib inline
%config InlineBackend.figure_format = 'retina'



---------------------------------------------------------------------------
NeedDownloadError                         Traceback (most recent call last)
~/anaconda3/envs/car-finding-lane-lines/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py in get_exe()
     81             exe = get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat],
---> 82                                   auto=False)
     83             os.chmod(exe, os.stat(exe).st_mode | stat.S_IEXEC)  # executable

~/anaconda3/envs/car-finding-lane-lines/lib/python3.6/site-packages/imageio/core/fetching.py in get_remote_file(fname, directory, force_download, auto)
    101     if not auto:
--> 102         raise NeedDownloadError()
    103 


https://github.com/david-gpu/srez/issues/18


 $ python
Python 3.6.3 |Anaconda, Inc.| (default, Nov 20 2017, 20:41:42)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import imageio
>>> imageio.plugins.ffmpeg.download()
Imageio: 'ffmpeg.linux64' was not found on your computer; downloading it now.
Try 1. Download from https://github.com/imageio/imageio-binaries/raw/master/ffmpeg/ffmpeg.linux64 (27.2 MB)
Downloading: 28549024/28549024 bytes (100.0%)
  Done
File saved as /home/joesmith/.imageio/ffmpeg/ffmpeg.linux64.

No comments:

Post a Comment