[PR #125] Fix ModuleNotFoundError: pin moviepy==1.0.3 and numpy==1.26.4 #124

Open
opened 2026-03-02 04:06:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/125
Author: @danielalanbates
Created: 2/21/2026
Status: 🔄 Open

Base: mainHead: fix/issue-117


📝 Commits (1)

  • 7299835 Fix ModuleNotFoundError for moviepy.video.fx.crop by pinning versions

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 requirements.txt (+2 -1)

📄 Description

Summary

  • Pins moviepy==1.0.3 in requirements.txt to fix ModuleNotFoundError: No module named 'moviepy.video.fx.crop'
  • Pins numpy==1.26.4 to ensure compatibility with moviepy 1.x (numpy 2.x introduced breaking changes)

Problem

The codebase uses moviepy 1.x APIs (moviepy.editor, moviepy.video.fx.all, moviepy.video.tools.subtitles, moviepy.config), but without a version pin, pip install moviepy now installs moviepy 2.x which reorganized its module structure, breaking these imports.

Root Cause

In moviepy 2.x, modules like moviepy.video.fx.all and moviepy.editor were removed or restructured. Since the codebase relies on the 1.x API throughout src/classes/YouTube.py, pinning to moviepy==1.0.3 is the correct fix.

Fixes #117

Test plan

  • Fresh pip install -r requirements.txt in a clean virtual environment
  • Verify from moviepy.video.fx.all import crop imports successfully
  • Verify from moviepy.editor import * imports successfully
  • Run python src/main.py without import errors

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/125 **Author:** [@danielalanbates](https://github.com/danielalanbates) **Created:** 2/21/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/issue-117` --- ### 📝 Commits (1) - [`7299835`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/72998354ae1a22eef4866badf5781dcc0e0b3c43) Fix ModuleNotFoundError for moviepy.video.fx.crop by pinning versions ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `requirements.txt` (+2 -1) </details> ### 📄 Description ## Summary - **Pins `moviepy==1.0.3`** in `requirements.txt` to fix `ModuleNotFoundError: No module named 'moviepy.video.fx.crop'` - **Pins `numpy==1.26.4`** to ensure compatibility with moviepy 1.x (numpy 2.x introduced breaking changes) ## Problem The codebase uses moviepy 1.x APIs (`moviepy.editor`, `moviepy.video.fx.all`, `moviepy.video.tools.subtitles`, `moviepy.config`), but without a version pin, `pip install moviepy` now installs moviepy 2.x which reorganized its module structure, breaking these imports. ## Root Cause In moviepy 2.x, modules like `moviepy.video.fx.all` and `moviepy.editor` were removed or restructured. Since the codebase relies on the 1.x API throughout `src/classes/YouTube.py`, pinning to `moviepy==1.0.3` is the correct fix. Fixes #117 ## Test plan - [ ] Fresh `pip install -r requirements.txt` in a clean virtual environment - [ ] Verify `from moviepy.video.fx.all import crop` imports successfully - [ ] Verify `from moviepy.editor import *` imports successfully - [ ] Run `python src/main.py` without import errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#124
No description provided.