Installation
Prerequisites
To run the 01 on your computer, you will need to install the following essential packages:
- Git
- Python (version 3.11.x recommended)
- Poetry
- FFmpeg
MacOS Installation
-
Git: If you don’t already have it, download and install Git from its official website.
-
Python:
- Download Python 3.11.x from the official Python website.
- During installation, make sure to check “Add Python to PATH”.
-
Poetry:
- Follow the official Poetry installation guide.
-
FFmpeg and other dependencies: We recommend using Homebrew to install the required dependencies:
MacOS Installation
-
Git: If you don’t already have it, download and install Git from its official website.
-
Python:
- Download Python 3.11.x from the official Python website.
- During installation, make sure to check “Add Python to PATH”.
-
Poetry:
- Follow the official Poetry installation guide.
-
FFmpeg and other dependencies: We recommend using Homebrew to install the required dependencies:
Windows Installation
-
Git: Download and install Git for Windows.
-
Python:
- Download Python 3.11.x from the official Python website.
- During installation, ensure you check “Add Python to PATH”.
-
Microsoft C++ Build Tools:
- Download from Microsoft’s website.
- Run the installer and select “Desktop development with C++” from the Workloads tab.
- This step is crucial for Poetry to work correctly.
-
Poetry:
- If the standard installation method fails due to SSL issues, try this workaround:
- Download the installation script from https://install.python-poetry.org/ and save it as
install-poetry.py
. - Open the file and replace the
get(self, url):
method with: - Run the modified script to install Poetry.
- Download the installation script from https://install.python-poetry.org/ and save it as
- Add Poetry to your PATH:
- Press Win + R, type “sysdm.cpl”, and press Enter.
- Go to the “Advanced” tab and click “Environment Variables”.
- Under “User variables”, find “Path” and click “Edit”.
- Click “New” and add:
C:\Users\<USERNAME>\AppData\Roaming\Python\Scripts
- Click “OK” to close all windows.
- If the standard installation method fails due to SSL issues, try this workaround:
-
FFmpeg:
- Download the latest FFmpeg build from the BtbN GitHub releases page.
- Choose the
ffmpeg-master-latest-win64-gpl.zip
(non-shared suffix) file. - Extract the compressed zip file.
- Add the FFmpeg
bin
folder to your PATH:- Press Win + R, type “sysdm.cpl”, and press Enter.
- Go to the “Advanced” tab and click “Environment Variables”.
- Under “System variables”, find “Path” and click “Edit”.
- Click “New” and add the full path to the FFmpeg
bin
folder (e.g.,C:\path\to\ffmpeg\bin
). - Click “OK” to close all windows.
Troubleshooting
-
Poetry Install Error: If you encounter an error stating “Microsoft Visual C++ 14.0 or greater is required” when running
poetry install
, make sure you have properly installed the Microsoft C++ Build Tools as described in step 3 of the Windows installation guide. -
FFmpeg Not Found: If you receive an error saying FFmpeg is not found after installation, ensure that you’ve correctly added the FFmpeg
bin
folder to your system PATH as described in step 5 of the Windows installation guide. -
Server Connection Issues: If the server connects but you encounter errors when sending messages, double-check that all dependencies are correctly installed and that FFmpeg is properly set up in your PATH.
Linux Installation (Ubuntu)
-
Git: If you don’t already have it, install Git using:
-
Python:
- Install Python 3.11.x using:
- Install Python 3.11.x using:
-
Poetry:
- Follow the official Poetry installation guide.
-
FFmpeg and other dependencies: Install the required packages:
Install 01
Now, clone the repo and navigate into the 01 directory:
Then, navigate to the project’s software directory:
Your current working directory should now be 01/software
.
Finally, install the project’s dependencies in a virtual environment managed by Poetry.
Now you should be ready to run the 01.
First, we recommend you familiarize yourself with our safety report.