Linux mint18 has bot 2.7 and 3.5 versions.
python2 is the system version (i.e. the one linux rely on for its tools
If you want to use python3 use
Note that newest version is 3.8, so if you want to install - install 3.8/
in this case python will point to python2, python3 and python3.5 will point to 3.5 and
You can use pyenv to manage different installations.
also it's a good idea to work in virtual environments, so that system install is clean. You will need to install different 3-rd party packages and don't want to clutter the system versions.
Look at https://python-forum.io/Thread-Part-1-Li...nvironment
and also - https://python-forum.io/Thread-pyenv-Sim...Management
https://docs.python.org/3/library/venv.html
python2 is the system version (i.e. the one linux rely on for its tools
If you want to use python3 use
python3
command, or python3.5
not python
.Note that newest version is 3.8, so if you want to install - install 3.8/
in this case python will point to python2, python3 and python3.5 will point to 3.5 and
python3.8
will point to newly installed 3.8You can use pyenv to manage different installations.
also it's a good idea to work in virtual environments, so that system install is clean. You will need to install different 3-rd party packages and don't want to clutter the system versions.
Look at https://python-forum.io/Thread-Part-1-Li...nvironment
and also - https://python-forum.io/Thread-pyenv-Sim...Management
https://docs.python.org/3/library/venv.html
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs