klange / toaruos

A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
https://toaruos.org/
University of Illinois/NCSA Open Source License
6.09k stars 477 forks source link

Installing Python 3.6 #154

Closed ghost closed 7 years ago

ghost commented 7 years ago

Since you're requiring 3.6 and the most common 16.04 doesn't have that by default ...

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
klange commented 7 years ago

This isn't portable outside of Ubuntu, so I don't want to add something like this to the build scripts which also work on Debian. At the moment, I am considering adding a manual build of 3.6 from sources, since we already have them available in the build.

ghost commented 7 years ago

I was more thinking of a document hint, but probably a local build would work great. Perhaps pyenv?

klange commented 7 years ago

Closing this for now until I get around to a manual install. I've added a check/warning to toolchain/install-python.sh which mentions the PPA.