Prerequisites
Before installing MoneyPrinter V2, ensure you have the following:Python 3.12
Python 3.12
MoneyPrinter V2 requires Python 3.12 to function effectively.Download Python 3.12 from python.orgVerify your installation:
Ollama (Local LLM)
Ollama (Local LLM)
Ollama is required for local text generation.Install from ollama.comAfter installation, pull a model:Verify Ollama is running:
ImageMagick
ImageMagick
ImageMagick is used by MoviePy to manipulate images and render subtitles.Linux/macOS:Windows:
Download from imagemagick.orgVerify installation:
Firefox Profile (for automation)
Firefox Profile (for automation)
A Firefox profile is needed for Twitter and YouTube automation to avoid logging in every time.Find your Firefox profile path:
- macOS:
~/Library/Application Support/Firefox/Profiles/ - Linux:
~/.mozilla/firefox/ - Windows:
%APPDATA%\Mozilla\Firefox\Profiles\
.default-releaseGemini API Key (for image generation)
Gemini API Key (for image generation)
MoneyPrinter V2 uses Google’s Gemini API (Nano Banana 2) for image generation.Get your API key from Google AI StudioYou’ll add this to your configuration later.
Go (Optional - for email outreach)
Go (Optional - for email outreach)
Only required if you plan to reach out to scraped businesses via email.Download from golang.org
Installation Methods
- Automated Setup (Recommended)
- Manual Installation
The setup script automatically creates a virtual environment, installs dependencies, and configures your environment.This script will:
Run the setup script
- Create a virtual environment in
venv/ - Install all Python dependencies from
requirements.txt - Copy
config.example.jsontoconfig.json - Auto-detect ImageMagick and Firefox profile paths
- Detect available Ollama models and configure them
- Run preflight checks to validate your setup
Environment Variables
You can use environment variables as an alternative to config file entries:If
nanobanana2_api_key is empty in config.json, MoneyPrinter V2 will automatically use the GEMINI_API_KEY environment variable.Troubleshooting
Ollama connection failed
Ollama connection failed
Error:
[FAIL] Ollama is not reachable at http://127.0.0.1:11434Solution:- Ensure Ollama is running:
- Verify with:
- Pull a model if none exist:
ImageMagick not found
ImageMagick not found
Error:
[WARN] imagemagick_path is not set to a valid executable pathSolution:- Install ImageMagick (see Prerequisites above)
- Find the path:
- Update
imagemagick_pathinconfig.json
Firefox profile issues
Firefox profile issues
Error:
[WARN] firefox_profile does not existSolution:- Open Firefox and go to
about:profiles - Find your default profile’s “Root Directory”
- Copy the full path to
firefox_profileinconfig.json
Python version mismatch
Python version mismatch
Error: Module installation failures or compatibility issuesSolution:
Ensure you’re using Python 3.12:If not, install Python 3.12 and recreate your virtual environment.
faster-whisper import error
faster-whisper import error
Error:
[FAIL] faster-whisper is not importableSolution: