Skip to content

Fix MoviePy import to ensure compatibility with version 2.X#472

Open
NerdyN00B wants to merge 2 commits intosoft-matter:mainfrom
NerdyN00B:patch-1
Open

Fix MoviePy import to ensure compatibility with version 2.X#472
NerdyN00B wants to merge 2 commits intosoft-matter:mainfrom
NerdyN00B:patch-1

Conversation

@NerdyN00B
Copy link
Copy Markdown

MoviePy 2.X no longer uses moviepy.editor (see https://zulko.github.io/moviepy/getting_started/updating_to_v2.html).

This should change all occurrences of moviepy.editor to simply moviepy.

I'm unsure if it might be best practice to try both from moviepy import ... and from moviepy.editor import ... to ensure compatibility with both versions. This only ensures compatibility with newer versions of MoviePy

fixed moviepy import to no longer use moviepy.editor for compatibility with moviepy 2.X
Fixed moviepy import from moviepy.editor to just moviepy in order to ensure compatibility with moviepy 2.X
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

Successfully merging this pull request may close these issues.

1 participant