OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Python 3.6, How to install python 3.6
jovpov
post Oct 16 2018, 12:43 AM
Post #1





Group: Members
Posts: 21
Joined: 3-September 18
Member No.: 830,028



I need Python version 3.6 for some project, any ideas how to upgrade existing 3.3?
Go to the top of the page
 
+Quote Post
vader
post Oct 16 2018, 05:37 AM
Post #2





Group: Members
Posts: 252
Joined: 21-January 18
Member No.: 816,775



QUOTE(jovpov @ Oct 16 2018, 06:43 PM) *
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.
Go to the top of the page
 
+Quote Post
vader
post Oct 16 2018, 06:21 AM
Post #3





Group: Members
Posts: 252
Joined: 21-January 18
Member No.: 816,775



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd July 2019 - 04:56 PM