Skip to main content

Command Palette

Search for a command to run...

Install Python Without Errors

Published
β€’3 min readβ€’View as Markdown
Install Python Without Errors
R

My name is Ronnie & a fellow geek like you😎. I am passionately tech curious.

I blog, tweet, write, code, vlog, discuss and eat anything about tech.

😍 Feel Free To Connect 😍

Hey buddy πŸ‘‹, welcome to my little world. Today, we shall learn how to install Python without getting errors and Python not being recognised.

If you are a novice in programming languages and would love to start with Python, I want to congratulate you and welcome you to the Pythonistas Community.

You probably chose Python because of its simplicity and friendliness. You could have another reason.

Python Versions:

Python has various versions available with differences between the syntax and working of different versions of the language. We need to choose the version which we want to use or need.

There are different versions of Python 2 and Python 3 available. Python 2 reached its end of life last year.

image.png
The latest version at the time of writing this article is Python 3.10.0 and its End Of Support is October 2026 with the PEP 609 release.

Steps Of Installation:

Windows:

πŸš€ Head over to python.org
πŸš€ Go to the Downloads section
image.png πŸš€ Click on Python 3.10.0 for the latest and the installer will download
πŸš€ Alternatively you can select the version of Python to install from the list here but I would recommend the latest because of bug fixes, support and security.
πŸš€ I am assuming a 64-bit machine, If you are not sure.
First, find out if you have 64 bit or 32 here
πŸš€ If it is 32-bit, check out the installer here
πŸš€ Run executable installer after downloading. You need admin rights for this
Follow the steps and kindly check the Add Python To Path

image.png

In case you forgot to check the add path option.

πŸ”Έ In the search bar, type edit environment variables
πŸ”Έ Find the path where it is installed and usually it is C:/users/yourname/programs
πŸ”Έ If you changed the directory, simply head over to that path because our point is to locate the python.exe installer.

πŸ”Έ Click on Path, edit add
πŸ”Έ Add new If it does not exist

image.png πŸ”Έ Copy and paste the path of python as the value name and PATH as the variable name.

image.png πŸ”Έ Save or Add or Ok
πŸ”Έ Restart all terminals.

Alternatively, You can use the where command in the terminal to locate the path.

image.png

Adding Python to PATH makes it possible for you to run (use) Python from your command prompt (also known as command-line or cmd).

Optional Features

The offline installer includes the components necessary for a default installation and only requires an internet connection for optional features. Though this will take more time. You can check all

image.png The above features include Tkinter, a standard Python GUI and Official Docs that you will need offline.

To Check For Python Version

🎈 Simply open the terminal or search cmd and type
🎈 Type python --version
🎈 To Enter into terminal, run python or py

If you get any errors, please make sure that you have followed the above steps promptly.

Mac:

Mac OS usually comes with Python 2 installed but that version is deprecated and is no longer supported.

As far as I know, you should not tamper or mess with that version since the OS also uses it.

Now, head over to ether of these two articles:
πŸ”Ή The HitchHikers Guide
πŸ”Ή Free Code Camp Article

Read More About Python 3.10 Features From Real Python :

image.png

Other Platforms:

Ubuntu and other versions of Debian Linux ship with Python 3 pre-installed. You just need to update them.

To Install on others read more here.

Conclusion

Congs πŸŽ‰ If you successfully installed Python without errors.

Now go read the official docs about the language for more.

Please consider subscribing for related content.

Happy Learning πŸ“‘ Happy Coding πŸ› 

Ronnie Atuhaire πŸ€“

More from this blog

R

Ronnie Atuhaire's Blog πŸ€“

158 posts

I blog, tweet, write, code, vlog, discuss and eat anything about tech.

Well am a Pythonista and a Tech-Virtuoso. Much welcome to my blog✌.