Install Python 3 on a Raspberry Pi

This tutorial will show you how to install Python 3 on a Raspberry Pi

Get Python 3 package, configure, make, and install.

Create a virtualenv and download the right libs

I’m pretty sure that if you want to download and compile the latest Python version, you also know what’s a virtualenv. If not, here is a guide. But did you know that Python 3.4 comes with an integrated virtualenv ? It’s called pyvenv-3.4. Once you have created a virtualenv (as described below) you’ll need to install the RPi.GPIO package with pip. Here is the list of command lines that allows you to do that.

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *