Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now. #320

Closed
paigewommack opened this issue Sep 29, 2016 · 2 comments
Closed

Comments

@paigewommack
Copy link

Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Try 1. Download from https://github.com/imageio/imageio-binaries/raw/master/ffmpeg/ffmpeg.osx (28.8 MB)
...Error while fetching file: [Errno 54] Connection reset by peer.

Using IDLE, the download starts but is very very slow and stops by itself. Then other attempts fail too.
Do you have any idea why ?

So I downloaded the file myself, and put it in the same repertory as my .py script, but Imageio still says that it cannot find it.

I also tried installing ffmpeg myself using brew (ffmpeg-3.1.3). But Imageio still cannot find it.

According to the install webpage (http://zulko.github.io/moviepy/install.html) I could specify the version of ffmpeg to use:
" If you want to use a specific version of FFMPEG, follow the instructions in file config_defaults.py. "

So my current attempt is to locate this config file and force it to use ffmpeg-3.1.3. But I cannot locate it ! Where is it hiding ? I did a research on the entire laptop but Finder does not find it. (-_-)

I find no trace of this problem, what I am doing wrong ?

@flothesof
Copy link
Contributor

Hi @paigewommack,

To try to solve your issue, could you explain the exact steps you were following when your first error message occured (Errno 54)? It's not very clear.

Regarding your second question, about the config_defaults.py file: Python installs moviepy inside its usual location for packages. In my Python install its here:
~/anaconda/lib/python3.5/site-packages/moviepy/config_defaults.py

Hope this helps.

Best regards,
Florian

@paigewommack
Copy link
Author

Hi @flothesof

The problem appeared when running the following code in the IDLE environment:
from moviepy.editor import *

Thanks for answering my question. I actually solved it by installing PyCharm as a proper python IDE for development. The error does not appear with PyCharm and everything is working good so far.

IDLE is not a proper IDE, just a quick way of running Python script and no debugger, so if anyone have the same problem with it I would recommend using PyCharm or equivalent.

For the second question, thanks for your answer. I still cannot figure out where is installed Python and packages. It's tricky because I found the "~/homefolder/lib/python/2.7" folder, but it's empty, so ¯_(ツ)_/¯

See ya
Paige

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants