Skip to content

Instantly share code, notes, and snippets.

@lowvoltage
Created July 18, 2017 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lowvoltage/bfcb726cc19d61c91502c39ff98fc201 to your computer and use it in GitHub Desktop.
Save lowvoltage/bfcb726cc19d61c91502c39ff98fc201 to your computer and use it in GitHub Desktop.
Setting up a Python3 dev environment on the Raspberry Pi

Install required packages:

$ sudo apt-get install -y python3 python-pip
$ sudo pip install virtualenv

Setup and activate a Python 3 virtual environment named "venv":

$ virtualenv -p python3 venv
$ source venv/bin/activate

Test python version:

$ python --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment