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

syntax error with moviepy #87

Closed
qqibrow opened this issue Nov 16, 2014 · 3 comments
Closed

syntax error with moviepy #87

qqibrow opened this issue Nov 16, 2014 · 3 comments

Comments

@qqibrow
Copy link

qqibrow commented Nov 16, 2014

Today I wanna try moviepy, but I meet this error when I run only a single line:

from moviepy.editor import *

The backtrace is like this:

Traceback (most recent call last):
File "convert_gif_to_video.py", line 1, in
from moviepy.editor import *
File "/usr/lib/python2.6/site-packages/moviepy/editor.py", line 22, in
from .video.io.VideoFileClip import VideoFileClip
File "/usr/lib/python2.6/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in
from moviepy.video.VideoClip import VideoClip
File "/usr/lib/python2.6/site-packages/moviepy/video/VideoClip.py", line 21, in
from .io.gif_writers import write_gif, write_gif_with_tempfiles
File "/usr/lib/python2.6/site-packages/moviepy/video/io/gif_writers.py", line 5, in
from moviepy.decorators import requires_duration
File "/usr/lib/python2.6/site-packages/moviepy/decorators.py", line 86
for (k,v) in kw.items()}
^

My python version is 2.6.6 and I use pip to install moviepy. Thank you!

@qqibrow
Copy link
Author

qqibrow commented Nov 16, 2014

I figure it out. Seems like it requires python 2.7 version. Thank you!

@qqibrow qqibrow closed this as completed Nov 16, 2014
@Zulko
Copy link
Owner

Zulko commented Nov 16, 2014

Thanks it's good to know, I will update the docs.

@qqibrow
Copy link
Author

qqibrow commented Nov 16, 2014

Np. Better to have a troubleshooting or install requirement wiki. :)

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