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

Python 3.3.3 - invalid syntax error #12

Closed
MaximRouiller opened this issue Feb 12, 2014 · 4 comments
Closed

Python 3.3.3 - invalid syntax error #12

MaximRouiller opened this issue Feb 12, 2014 · 4 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@MaximRouiller
Copy link

I'm trying to run moviepy with the Python 3.3.3 interpreter and it fails.

I'm sorry before-hand if it's a n00b error (I'm still brand new to Python) but I get the following error when running my code.

Error:

Traceback (most recent call last):
  File "C:/Users/Maxime/PycharmProjects/LearningPython/LearningClasses.py", line 2, in <module>
    from moviepy.editor import *
  File "C:\Python33\lib\site-packages\moviepy\editor.py", line 11, in <module>
    from moviepy.video.io.VideoFileClip import VideoFileClip
  File "C:\Python33\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 63
    print "No audio found in %s"%filename
                               ^
SyntaxError: invalid syntax

My Code:

from moviepy.editor import *

VideoFileClip("C:/Users/Maxime/Downloads/sample_mpeg4.mp4").to_gif("test.gif")
@Zulko Zulko added the bug label Feb 14, 2014
@Zulko
Copy link
Owner

Zulko commented Feb 14, 2014

Yep, that's a real python3 error !
I just made MoviePy Python3 compatible right now, at least on the surface (mainly by fixing small syntaxic bugs like the one you got).
On my computer I can read and write videofiles with MoviePy and Python3.2.
You can download that new version either on Github or on Pip.
If you want to try it and report any difficulty you have, I would be grateful !

@MaximRouiller
Copy link
Author

I'll try it again on Monday with Valentine day and all.

Maxime Rouiller
Sent from my Nexus 5
On Feb 14, 2014 4:28 PM, "Zulko" notifications@github.com wrote:

Yep, that's a real python3 error !
I just made it Python3 compatible right now, at least on the surface
(mainly by fixing small syntaxic bugs like the one you got). On my computer
I can read and write videofiles with MoviePy and Python3.2.
If you want to try it and report any difficulty you have, I would be
grateful !

Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-35126303
.

@Zulko
Copy link
Owner

Zulko commented Feb 20, 2014

I made some change and now I can make videos and GIFs with Python 3.2, in case you are still interested. Its not fully tested, but the basics work.

@MaximRouiller
Copy link
Author

Sweet. I'll reinstall the 3.2 interpreters and come back to you.

Maxime Rouiller
Sent from my Nexus 5
On Feb 20, 2014 5:15 PM, "Zulko" notifications@github.com wrote:

I made some change and now I can make videos and GIFs with Python 3.2, in
case you are still interested. Its not fully tested, but the basics work.

Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-35675976
.

@Zulko Zulko closed this as completed Apr 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

2 participants