Showing posts with label Installing newest Python on your Raspberry Pi. Show all posts
Showing posts with label Installing newest Python on your Raspberry Pi. Show all posts

Wednesday, January 25, 2017

Building Python 3.6 on Raspberry Pi 3 from sources (clean Debian)

Building Python 3.6 on Raspberry Pi 3 from sources (clean Debian)

 

1. Problem


By default clean Debian installation contains Python version 2.7.9 on my Debian (Raspbian GNU/Linux 8 (jessie)"). But we want more! We need Python 3.X, this tutorial shows you how to install Python version 3.6.0 .

Warning! Newer versions of Debian for Raspbery Pi have SSH disabled, so you need enable it by creating empty file with name ssh (Yes, just three letters. Yes, without extension) in /boot section of SD-card. This section also visible under Windows, so you will have no problems to do this.

Note: This is updated version of my previous tutorial Building Python 3.5 on Raspberry Pi 2 (Raspbian) which fixes issues with TLS/SSL support of compiled Python.


Wednesday, October 14, 2015

Building Python 3.5 on Raspberry Pi 2 (Raspbian)

Building Python 3.5 on Raspberry Pi 2 (Raspbian)


1. Problem



Problem: we want use the latest version of Python to run Flask and other fun stuff on our RPi 2 (mod. B). But only old version of Python (3.2) supported by apt-get.

We need to build and install our own build of latest Python release! So, our target will be Python 3.5.

Also, you may want to know What’s New In Python 3.5

UPD! You can follow procedures for Python 3.6 installation by following Building Python 3.6 on Raspberry Pi 3 from sources (clean Debian)