0
Arjuna

[ASK] how to install Python in armbian

Recommended Posts

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 :-)

 

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
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 ...

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0