Use the apt package manager to install Python. You can easily install it from Ubuntu's software repositories. In case you do not have Python installed, fret not. Weirdly, if Python is not found, you might get a similar error: $ python3 -version To check the version of Python that is installed, run the following command in your terminal: $ python3 -versionĪt the time of writing this article, the latest version found on is 3.10.4, which is exactly what I have installed from the first-party repository. Sometimes, the version that is pre-installed, or the latest version that is available from Ubuntu's repositories is older than the one found on. The thing is that in Ubuntu, the Python version 3.x is installed and its binary is named python3, not python. The problem here is that many people try to run python directly and they will be surprised when their Ubuntu system throws an error: Command 'python' not found Well yes, when you install Ubuntu, a version of Python is automatically installed as most system utilities also depend on it. Running the command will show the version of Python v3 that you have installed. You can check the version of python with the following command: python3 -version Ubuntu and almost every other Linux distribution have been shipping with some version of Python for quite a long time. The Python language has been gaining popularity for several years, both as a programming and a scripting language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |