Comments (11)
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.
@ryan-keenan It looks weird..., I used MacBook Pro.
python versions are below
from carnd-lanelines-p1.
I used above commands on windows 10 anaconda spyder. It worked like charm
from carnd-lanelines-p1.
@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.
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.
i too had same issue and resolved it by importing imageio and then running ffmpeg.download command as suggested above.
from carnd-lanelines-p1.
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.
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.
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.
@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:
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.
For me, the following solution worked:
imageio/imageio#357
from carnd-lanelines-p1.
Related Issues (20)
- runtume error HOT 1
- region_of_interest() fillpoly HOT 1
- Students confused about where to put their code
- Undefined Var HOT 3
- openCV with GPU HOT 4
- Reflections Section Removed HOT 1
- Issue with conda install -c menpo opencv3=3.1.0 HOT 9
- ctrl+d , in windows, cannot exit. HOT 1
- Project Structure Is Inconsistent HOT 2
- region_of_interest issue with fillPoly() HOT 6
- Typo erron HOT 1
- The project doesn't have a license HOT 1
- No filename as test.ipynb HOT 1
- Simplifying calling Docker on this project and also getting upstream fixes HOT 4
- line fit HOT 2
- link broken HOT 1
- The Matplotlib issue in Anaconda environment HOT 3
- why do not you publish a paper HOT 1
- Can we use this for real-time? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carnd-lanelines-p1.