Skip to content

Instantly share code, notes, and snippets.

@akki2825
Last active December 7, 2021 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akki2825/3b38a9f33170b31617b141e53745565b to your computer and use it in GitHub Desktop.
Save akki2825/3b38a9f33170b31617b141e53745565b to your computer and use it in GitHub Desktop.
#!/bin/sh
# Aeneas (python3.6+) installation that works only for Debian distros (including WSL with Ubuntu)
echo "Updating OS..."
sudo apt-get update
sudo apt-get upgrade
echo "Cloning py3-aeneas..."
git clone https://github.com/akki2825/aeneas
echo "Entering directory..."
cd aeneas/
echo "Installing Python dev dependencies..."
sudo apt-get install -y python3-dev
sudo apt-get install python3-pip
echo "Installing a few espeak dependencies..."
sudo apt-get install make autoconf automake libtool pkg-config
echo "Installing libespeak-dev..."
sudo apt install libespeak-dev
echo "Installing ffmpeg..."
sudo apt install ffmpeg
echo "Installing espeak..."
sudo apt install espeak
sudo apt install espeak-data
echo "Installing python packages..."
sudo pip3 install numpy
sudo pip3 install py3-aeneas
echo "Compiling Python C/C++ extensions..."
sudo python3 setup.py build_ext --inplace
echo "Checking setup..."
sudo python3 -m aeneas.diagnostics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment