Last updated
Last updated
There are several ways to install Audiocraft locally, depending on your operating system and preferences. Here are the two most common methods:
Method 1: Using conda (recommended for beginners, works on Windows, macOS, and Linux)
Create a conda environment: Open a terminal and type:
This creates a new environment called ac
with Python 3.9, the recommended version for Audiocraft.
Activate the environment: Type:
Clone the Audiocraft repository: Type:
Install dependencies: Navigate to the audiocraft
directory and type:
Install FFmpeg (optional, but recommended for playing audio):
On macOS: brew install ffmpeg
On Windows: Download and install FFmpeg from
Run the MusicGen application: Type:
Method 2: Using Pinocchio (alternative, works on Windows)
Extract the Audiocraft zip file.
Run the Pinocchio installer and select the Audiocraft folder.
Follow the installation instructions in Pinocchio.
This method is a bit more user-friendly for Windows users, but it may not be as up-to-date as the conda method.
Additional resources:
This will launch the MusicGen app in your web browser at . You can then start generating and listening to your own AI-powered music!
Download and install Pinocchio:
Download the Audiocraft zip file:
AudioCraft GitHub repository:
How to Install AudioCraft Locally (YouTube tutorial):
How to Install and Run Facebook AudioCraft's MusicGen Locally (Medium article):