mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 06:35:51 +03:00
[PR #125] Fix ModuleNotFoundError: pin moviepy==1.0.3 and numpy==1.26.4 #124
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/125
Author: @danielalanbates
Created: 2/21/2026
Status: 🔄 Open
Base:
main← Head:fix/issue-117📝 Commits (1)
7299835Fix 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
moviepy==1.0.3inrequirements.txtto fixModuleNotFoundError: No module named 'moviepy.video.fx.crop'numpy==1.26.4to 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 moviepynow installs moviepy 2.x which reorganized its module structure, breaking these imports.Root Cause
In moviepy 2.x, modules like
moviepy.video.fx.allandmoviepy.editorwere removed or restructured. Since the codebase relies on the 1.x API throughoutsrc/classes/YouTube.py, pinning tomoviepy==1.0.3is the correct fix.Fixes #117
Test plan
pip install -r requirements.txtin a clean virtual environmentfrom moviepy.video.fx.all import cropimports successfullyfrom moviepy.editor import *imports successfullypython src/main.pywithout import errors🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.