Install Python#
The following describes how to set up your development environment for working on this project. For this specific tutorial we will be installing Python 3.8, but you can install any version you like (recommend installing the latest).
pyenv
#
pyenv is a Python version manager written in shell script; it allows you to install and manage different version of python. See this guide on installation. Once installed simply run:
Tip
See this for more info on usage.
uv
#
Tip
This is the recommended way of installing Python.
uv is an Python package and project manager. It has many useful features, including the ability to download and manage different Python versions.
Installation
See this guide on installation.
To install - say - Python 3.8, run:
Usage
See this for more info on usage.
Unix/MacOs#
If you are using a Unix-based (like Linux) or Unix-like (like MacOS) system, you can find Python in your prefered package manager.
Tip
On some version of Ubuntu you may need to use the deadsnakes PPA repository to install Python.
If you are on such a version, run this command first:
Then run the below:
Tip
If you have an AUR helper like yay
,
you can specify the specific Python package you want in the
Arch User Repository (AUR):
yay -S python38
Homebrew Installation
If you do not have Homebrew installed on your OS X terminal, you can install it using the following command:
Windows#
See this guide on how to install Python on Windows.