Lesson 02 of 12 · Free preview
Environment, Accounts and Project Preparation
Prepare Python 3.11, Node.js, FFmpeg, AI services, and the project directory.
Lesson 02: Environment, Accounts and Project Preparation
This lesson is free.
Learning Objectives
By the end of this lesson, you will be able to:
- explain how “Environment, Accounts and Project Preparation” fits into the complete system
- complete the configuration or implementation step by step
- verify the result and identify common failures
Estimated Study Time
10–15 minutes
Prerequisites
Complete the previous lesson and be able to run commands in Windows CMD.
Lesson Overview
Prepare Python 3.11, Node.js, FFmpeg, AI services, and the project directory.
Core Concepts
A reliable media application requires a reproducible environment. Python coordinates the desktop application and services, Node.js runs Remotion, FFmpeg handles media, and AI services provide transcription, analysis, visual understanding, and speech generation.
Step-by-Step Instructions
Step 1: Confirm Python 3.11
python --versionExpected output:
Python 3.11.xCreate the virtual environment:
python -m venv app\.venv
app\.venv\Scripts\python.exe -m pip install --upgrade pipStep 2: Confirm Node.js and npm
node --version
npm --versionStep 3: Confirm FFmpeg
ffmpeg -version
ffprobe -versionStep 4: Install Dependencies
app\.venv\Scripts\python.exe -m pip install -r requirements.txt
cd remotion
npm installStep 5: Keep Credentials Safe
Store API keys in environment variables or an uncommitted .env file:
OPENAI_API_KEY=your-placeholder-keyNever include a real key in source code or a course ZIP.
Expected Result
Python, Node.js, npm, FFmpeg, and the project dependencies are available from the command line.
Common Issues and Solutions
Python points to the wrong version
Use the full Python 3.11 executable path when creating the virtual environment.
FFmpeg is not recognised
Add FFmpeg's bin directory to Windows PATH and reopen CMD.
Best Practices
Use one virtual environment per project and run pip check after installation.
Lesson Summary
The core development and runtime environment is ready.
Practice Task
Run the version checks for Python, Node.js, npm, and FFmpeg, then save the output.
Next Step
Continue to Lesson 03.