Is Python installed: (Raspberry Pi Ubuntu) - Ask Ubuntu


16.04 installed on raspberry pi 3

attempt verify version of python did not indicate version of python installed (if any):

ubuntu@ubuntu:~$ python -v program 'python' can found in following packages:  * python-minimal  * python3 try: sudo apt install <selected package>  ubuntu@ubuntu:~$ python --version program 'python' can found in following packages:  * python-minimal  * python3 try: sudo apt install <selected package> 

is python not installed default ubuntu?

update: dobey

ubuntu@ubuntu:/$ cd /usr/bin ubuntu@ubuntu:/usr/bin$ find . | grep python ./python3-jsondiff ./python3.5m ./python3-jsonpointer ./python3-jsonpatch ./python3.5 ./python3m ./python3 ./dh_python3 ubuntu@ubuntu:/usr/bin$ python3 /usr/bin/python3 ubuntu@ubuntu:/usr/bin$ cd / ubuntu@ubuntu:/$ python3 /usr/bin/python3 ubuntu@ubuntu:/$ python3 -v python 3.5.1+ ubuntu@ubuntu:/$ 

the program /usr/bin/python python 2.x not installed default. need use python3 instead.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User