OESF Portables Forum
Model Specific Forums => Gemini PDA => Gemini PDA - Sailfish OS => Topic started by: jovpov on October 16, 2018, 04:43:35 am
-
I need Python version 3.6 for some project, any ideas how to upgrade existing 3.3?
-
I need Python version 3.6 for some project, any ideas how to upgrade existing 3.3?
I can't find 3.6 in the usual places. Your best bet is to probably compile it yourself. You can download the source from github. I had to compile 3.6 for an old ubuntu machine which didn't have it in the repos.
-
For a laugh, I downloaded the source to python 3.6.6 from python.org, and compiled it. It worked a charm, no problems - although I didn"t play with/modify the config. I installed it to /home/nemo/python so I could create a tarball. It is too large to attach (46M), but you could easily do the compiling yourself. Install the gcc compiler, download the source from python.org, then do this:
start the terminal
if you downloaded the source to Downloads, go there (cd Downloads), and uncompress the file with:
tar xvf your_downloaded_filename
cd python3.6.6 (or whichever one you downloaded)
./configure
make
make test
sudo make install (if the test passed)
Hope this helps.