Laurent PARISE
2013-03-01 12:04:53 UTC
Excuse me for my English first.
I use Mac OS 10.6.8 Spyder for some time with great pleasure. Thank you for
your work!
However, since yesterday I have a problem with creating animations (MP4)
with matplotlib.
1. My script works from the command line (and make an mp4 file), but I get
an error in Spyder with the same script:
/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/animation.py:
598:
UserWarning: ffmpeg MovieWriter unavailable
warnings.warn ("% s MovieWriter unavailable" writer%)
It seems that Spyder's Python can not find the 'ffmpeg' program that
creates the MP4 file.
2. I did some tests: if I start Spyder in the console command line, my script
is compiled correctly in Spyder ! But if I start Spyder by clicking on the
icon in the Applications folder, python does not find 'ffmpeg' that is in
'/usr/local/bin'.
In fact, '/usr/local/bin' is in my PATH in the console (I type 'env' in the
console to see it), but Spyder do not know if I run it from the
Applications folder ...
Could you tell me if it is possible to tell Spyder, it must use the PATH variable
to launch external programs (if my problem is it) ?
Thanks again.
Laurent.
I use Mac OS 10.6.8 Spyder for some time with great pleasure. Thank you for
your work!
However, since yesterday I have a problem with creating animations (MP4)
with matplotlib.
1. My script works from the command line (and make an mp4 file), but I get
an error in Spyder with the same script:
/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/animation.py:
598:
UserWarning: ffmpeg MovieWriter unavailable
warnings.warn ("% s MovieWriter unavailable" writer%)
It seems that Spyder's Python can not find the 'ffmpeg' program that
creates the MP4 file.
2. I did some tests: if I start Spyder in the console command line, my script
is compiled correctly in Spyder ! But if I start Spyder by clicking on the
icon in the Applications folder, python does not find 'ffmpeg' that is in
'/usr/local/bin'.
In fact, '/usr/local/bin' is in my PATH in the console (I type 'env' in the
console to see it), but Spyder do not know if I run it from the
Applications folder ...
Could you tell me if it is possible to tell Spyder, it must use the PATH variable
to launch external programs (if my problem is it) ?
Thanks again.
Laurent.
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.