Jump to content

[ASK] how to install Python in armbian


Arjuna

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

 

Link to comment
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. 

Link to comment
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 ...

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines