Git Product home page Git Product logo

Comments (11)

ryan-keenan avatar ryan-keenan commented on September 28, 2024

Hi Jiho, thanks for reporting this! Which OS are you on? I just tried this on my MacBook Pro and got the following error:

`

import imageio
imageio.plugins.ffmpeg.download()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'imageio.plugins.ffmpeg' has no attribute 'download'

`

I see now that someone else had this issue using the Docker container, is that what you're running?

from carnd-lanelines-p1.

jihobak avatar jihobak commented on September 28, 2024

@ryan-keenan It looks weird..., I used MacBook Pro.
python versions are below
image

from carnd-lanelines-p1.

sunnychugh avatar sunnychugh commented on September 28, 2024

I used above commands on windows 10 anaconda spyder. It worked like charm

from carnd-lanelines-p1.

hayoung-kim avatar hayoung-kim commented on September 28, 2024

@ryan-keenan I saw the same error message when I run this code on python3 running on my terminal.
The needed files were successfully downloaded when I tried exactly same procedure in jupyter notebook.
I don't know why. but it works in my case.

from carnd-lanelines-p1.

shivajid avatar shivajid commented on September 28, 2024

I had the same issue with Ubuntu 16.04.

a) Works with what jihobak suggested

I think it would be good to have some introduction to the moviepy library. I had to go and figure out what the library did and the fact that the image was actual a tensor of the image array and not the image path (which may be obvious, but I tripped on it).

from carnd-lanelines-p1.

dcrunch avatar dcrunch commented on September 28, 2024

i too had same issue and resolved it by importing imageio and then running ffmpeg.download command as suggested above.

from carnd-lanelines-p1.

aasaanhai avatar aasaanhai commented on September 28, 2024

I was also facing this issue.
Env : Windows 10, Anaconda, Python 3.5, imageio ( 1.5.0 via menpo) ,
And I got AttributeError: module 'imageio.plugins.ffmpeg' has no attribute 'download'
Now, after updating the imageio to ( 2.1.1 via conda-forge), the issue is resolved.

from carnd-lanelines-p1.

BrandonHe avatar BrandonHe commented on September 28, 2024

Here are my information for you guys reference:
Env: Mac Sierra, 10.12.2

I firstly also got the error info after following the instruction of troubleshooting to resolve the ffmpeg issue by adding these two lines code in a code cell in the notebook:

import imageio
imageio.plugins.ffmpeg.download()

Then got below error information:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-07cd959207c9> in <module>()
      1 # Import everything needed to edit/save/watch video clips
      2 import imageio
----> 3 imageio.plugins.ffmpeg.download()
      4 from moviepy.editor import VideoFileClip
      5 from IPython.display import HTML

AttributeError: module 'imageio.plugins.ffmpeg' has no attribute 'download'

Tried several times, I find the root cause: Not successfully install the moviepy
Be sure you really successfully get below information after you run the command

CarND-Term1-Starter-Kit$ conda env create -f environment.yml

that means installed moviepy successfully:

Successfully built moviepy theano pyyaml
Installing collected packages: tqdm, moviepy, protobuf, tensorflow, theano, pyyaml, Keras
  Running setup.py install for Keras ... done
Successfully installed Keras-1.2.1 moviepy-0.2.2.11 protobuf-3.1.0.post1 pyyaml-3.12 tensorflow-0.12.1 theano-0.8.2 tqdm-4.11.2
#
# To activate this environment, use:
# > source activate carnd-term1
#
# To deactivate this environment, use:
# > source deactivate carnd-term1
#

Launch the Jupyter notebook, delete added two lines

import imageio 
imageio.plugins.ffmpeg.download()

Finally , execute with success.

from carnd-lanelines-p1.

Prtfw avatar Prtfw commented on September 28, 2024

Hey @BrandonHe... I am having the same issue (thanks for figuring this out btw...)
... do you mind explaining exactly how you got the moviepy to install successfully? (it's currently listed when i run [conda list] but I installed using pip)
thanks lots!

from carnd-lanelines-p1.

BrandonHe avatar BrandonHe commented on September 28, 2024

@Prtfw
I am not sure you need to configure a proxy, I configured a .bash_profile in home directory, via proxy to download all dependencies and packages needed.

  1 # Set proxy for terminal
  2 export http_proxy="yourproxy.com:port"
  3 export https_proxy="yourproxy.com:port"
  4 # added by Miniconda3 4.2.12 installer
  5 export PATH="/Users/brandon/miniconda3/bin:$PATH"

Then run command:
conda env create -f environment.yml
After command executes successful, it'll return screen shot like I made:

carnd-term1

I think using the pip install is also OK. Moviepy is also installed via pip in environment.yml. Did you run command with successful return? The package version should be also considered.

from carnd-lanelines-p1.

SimonAltmannshofer avatar SimonAltmannshofer commented on September 28, 2024

For me, the following solution worked:
imageio/imageio#357

from carnd-lanelines-p1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.