Arjuna Posted September 13, 2018 Share Posted September 13, 2018 hi. i am new to armbian and i want to start learning python i use below tutorial but it does't work https://youtu.be/D_N2K2fTH2M any body have other reference for me to install python 3.7.0? i am using orange pi pc. thanks. Link to comment Share on other sites More sharing options...
martinayotte Posted September 13, 2018 Share Posted September 13, 2018 3 hours ago, Arjuna said: i use below tutorial but it does't work What issue you've faced ? 3 hours ago, Arjuna said: reference for me to install python 3.7.0 Why do you need to have latest version ? Most distros have already python2 and python3 ... 1 Link to comment Share on other sites More sharing options...
ag123 Posted September 13, 2018 Share Posted September 13, 2018 simply type $ python >>> print "hello world" does that work? if it works python is already installed, google search for other tutorials 1 Link to comment Share on other sites More sharing options...
Tido Posted September 13, 2018 Share Posted September 13, 2018 9 hours ago, Arjuna said: any body have other reference for me to install python 3.7.0? I don't have reference, but if you do in a terminal: dpkg -l python3.* you can see what version you have installed by looking for the 'ii'. As @martinayotte, already wrote 2.x and 3.x is usually already installed. Depending on your 'project' the installed version is already sufficent for your needs and you can start programming :-) 1 Link to comment Share on other sites More sharing options...
Arjuna Posted September 13, 2018 Author Share Posted September 13, 2018 home@orangepipc:~$ python3 --version Python 3.7.0 home@orangepipc:~$ python --version Python 2.7.12 home@orangepipc:~$ python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> yeah you are right guys, i now know that armbian already included python as pre-install. i guest i will google more about installing the interpreter and make python 3.7.0 as my default. Because i have these e-book about python 3 version not python 2 version. thank you all for your reply. Link to comment Share on other sites More sharing options...
Tido Posted September 14, 2018 Share Posted September 14, 2018 Python 3 is under heavy development. That said, depending of the age of the book I would choose the appropriate python version. The newest might not be the 'best'. Link to comment Share on other sites More sharing options...
martinayotte Posted September 14, 2018 Share Posted September 14, 2018 12 hours ago, Arjuna said: google more about installing the interpreter and make python 3.7.0 as my default no needs to install since it is already there ... To make it default, simply remove current /usr/bin/python symbolic link and recreate new one pointing to /usr/bin/python3.7 ... Link to comment Share on other sites More sharing options...
Recommended Posts