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

moviepy 2.0 has introduced breaking changes (ModuleNotFound moviepy.editor) #202

Open
Coxyca opened this issue Nov 21, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Coxyca
Copy link

Coxyca commented Nov 21, 2024

Describe the bug
MoviePy recently upgraded to v2.0, introducing breaking changes which prevent StoryToolkit from starting/running.

To Reproduce

  1. Follow the installation guide and run venv/bin/python StoryToolkitAI/storytoolkitai
  2. A ModuleNotFound error appears (moviepy.editor)

Expected behavior
StoryToolkitAI should start running.

System (please complete the following information):

  • OS: Windows 10
  • Python versions installed on machine: 3.10.11
  • StoryToolkitAI Version 0.24.3

Additional context
It seems like I had the unfortunate timing of installing StoryToolkit almost the same day MoviePy decided to push a major update.

I first tried to update the import in media.py with from moviepy import VideoFileClip, AudioFileClip and it did get the app to start properly but only then I realized other bugs were happening ("File file.mp4 does not have a valid video stream" on every single video I tried to ingest).

I downgraded moviepy back to 1.0.3 and everything works as intended (note that to do that I also had to downgrade setuptools to 69.5.1 because pip was throwing an error otherwise). If updating to moviepy 2 isn't particularly useful for the project, it might be good to set a strict 1.0.3 requirement.

@Coxyca Coxyca added the bug Something isn't working label Nov 21, 2024
@octimot octimot self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants