Answers for "installed python3 on ubuntu still showing python 2.7"

10

linux ubuntu install python 3.7

sudo apt-get install python3.7
Posted by: Guest on April-18-2020
1

python version installed in ubuntu

# check all python version install in ubuntu
$ ls /usr/bin/python* # for path and version
$ whereis python # for path and version
$ which python # for path
$ ls -lach /usr/bin/python
$ for p in $(compgen -c python); do printf "%-16s" $p; $p --version; done
Posted by: Guest on May-05-2021

Code answers related to "installed python3 on ubuntu still showing python 2.7"

Python Answers by Framework

Browse Popular Code Answers by Language