Skip to content

Instantly share code, notes, and snippets.

@kitingChris
Last active August 16, 2023 15:36
Show Gist options
  • Save kitingChris/83dd754f191f972db5e0e43ab31093c8 to your computer and use it in GitHub Desktop.
Save kitingChris/83dd754f191f972db5e0e43ab31093c8 to your computer and use it in GitHub Desktop.
Install pyenv and python 3.10 on Ubuntu
## Basic requirements for python development
sudo apt-get install build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev
## Tkinter support
sudo apt-get install tk-dev
## PyAudio support
sudo apt-get install portaudio19-dev
## ffmpeg support
sudo apt-get install ffmpeg
## Install pyenv
curl https://pyenv.run | bash
## Install python 3.10
pyenv install 3.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment