You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sharo@kirima:~$ python
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
python3
sharo@kirima:~$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
python2
sharo@kirima:~$ python2
Command 'python2' not found, but can be installed with:
sudo apt install python2
1. sudo apt install python-is-python3
python
sharo@kirima:~$ sudo apt install python-is-python3
sharo@kirima:~$ python
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
python2
sharo@kirima:~$ python2
Command 'python2' not found, but can be installed with:
sudo apt install python2
2. sudo apt remove python-is-python3
python
sharo@kirima:~$ python
bash: /usr/bin/python: No such file or directory
3. sudo apt install python2
python
sharo@kirima:~$ python
bash: /usr/bin/python: No such file or directory
python2
sharo@kirima:~$ python2
Python 2.7.18rc1 (default, Apr 7 2020, 12:05:55)
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>