So This is Start of the Series Python tutorials by shriekdj.
So Most of the Time this process is very simple to follow just go to website https://python.org click download button to get python.
but there may be some problems occure in this process.
Direct Method of Downloading Python From there Website
As per my case I was.trying to install python3 on my college computer which had Windows 10 Educational On It and gone to python.org's download page which looks like below.
Here I Just clicked download button and try to install EXE but it was not able to download.
The reason was that my college computer was 64-Bit the download button is configured for 32-bit Version.
Now Even if the that exe was 32 bit it should be run on 64-bit but still the errors are there. then actual location of the python 64 bit exe was at given address in below image.
After this the process of installing it same as all other apps just Click agree
, continue
and next
whatever available and Be Aware to Select an Checkbox Name Add to Path as checked.
Because it helps you run python code from anywhere in the system from command line also, Otherwise you will have issues for running python programs.
Like if you want to run file named main.py
then the command python main.py
will not work you have to specify your python.exe
location with the command like given below.
# Command If python is added to PATH
python main.py
# or
python3 main.py
# Command if python is not added to PATH
C:\python/bin/python.exe ./main.py
And Obviously you don't want to something like that
Be Aware of the Current Latest Python Versions are Python3.8, Python3.9 and Python3.10 And Does Not Bing Released for deprecated os Windows 7 and Below.
But You Can Build the Python From There GitHub Repo By Reading there Installation docs, Given Below is GitHub Repo of Cpython.
This is Python version 3.14.0 alpha 0
Copyright © 2001-2024 Python Software Foundation. All rights reserved.
See the end of this file for further copyright and license information.
Contents
- Website: https://www.python.org
- Source code: https://github.com/python/cpython
- Issue tracker: https://github.com/python/cpython/issues
- Documentation: https://docs.python.org
- Developer's Guide: https://devguide.python.org/
For more complete instructions on contributing to CPython development, see the Developer Guide.
Installable Python kits, and information about using Python, are available at python.org.
On Unix, Linux, BSD, macOS, and Cygwin:
./configure make make test sudo make install
This will install Python as python3
.
You can pass many options to the configure script; run ./configure --help
to find out more. On macOS case-insensitive file systems and on…
Downloading Python From Windows App Store
It is the easiest way to download and install python from there own app store which available for free to download.
Just be aware to install Python3 not Python2.
I Will Suggest Installing Other Terminal like Windows Terminal
or Git Bash Shell
which are easy to use and less error prone.
for example the built-in command-line tools are to non user friendly for programmer and I am Saying from my experience.
Installing Python From Packages Managers Built for Windows Operating System
Now In This decade some devs out there builted some package managers for windows operating system which is similar to linux or mac os command-line package manager.
Some of them are given below
-
Chocolatey Package Manager : The Third Party Package Manager. You Can also install things like
Visual C Runtime
,Python
,NodeJS
and Many More. - Winget Package Manager by Microsoft : So this is an Package Manager build by Microsoft themselves, I do not have any Experience with using it but you can try and give your opinions in comments and also the link is of github repo not download link.
Thanks for taking time the time to reading the post until here.
Conclusion
If you found this useful then please share this and follow me! Also check out Buy Me A Coffee if you want to support me on a new level!
Give any reactions for giving my content algorithm boost.
Bye 👋.
Top comments (0)