Pip for Python 3.8 - Stack Overflow
How to install a previous version of python on windows?
How to install and use both python 3.8 and 3.7 on windows 10 - Stack Overflow
Why the latest Python 3.8.x release provides no Windows installer? - Stack Overflow
Videos
Install pip the official way:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.8 get-pip.py
made 3.8 my default Python version
It depends on how you did that, but it might break something in your OS. For example some packages on Ubuntu 18.04 might depend on python being python2.7 or python3 being python3.6 with some pip packages preinstalled.
sudo apt install python3.8
sudo apt install python3.8-distutils
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.8 get-pip.py
Here's the solution that worked for me.
AFTER all the operations in the OT, I've run Python 3.8 NORMAL installer and chose not to install py launcher, this made Python successfully install.
After this step, I have added Python and Python/Script folders to my PATH and in cmd, python --version showed the correct version installed.
THEN I got the last problem (the imgurl one), when trying to see pip version and install pip using python from command line. I fixed this last problem by opening again the Python installer and perform an installation repair. After this, I made sure I could use python and pip commands and that's it.
I didn't launch anything as administrator nor performed any reboot while doing these last operations.
The simplest solution for me was to uninstall Python3.x then re-install.
Make sure to check the box for "Add Python 3.x to Path" and then change the path installation path in "Customize Installation" in the installer.
I installed mine at C:/Python3. I also checked the box for "Install for all users" because that is what I wanted.
I need python 3.8 for a thing here I am working. I already have 3.11
Python 3.8.16 page does not have installers
pip install is not working, I typed on windows powershell:
pip install python==3.8.16
but i got
ERROR: Could not find a version that satisfies the requirement python==3.8.16 (from versions: none)
ERROR: No matching distribution found for python==3.8.16
what do i do?
You should just install Python 3.7 and Python 3.8 and make sure that the Python Launcher for Windows is also installed (this is the default).
Then you could run your scripts using py -3.7 main.py or py -3.8 main.py to run main.py using Python versions 3.7 or 3.8, respectively.
Alternatively (even better actually), you could write the required Python version in the first line of your Python script:
#!/usr/bin/env python3.7
Note that this must be the first line of the script, otherwise it doesn't work. Now just running py main.py would automatically select the correct Python version to execute the script.
NB: If the script is executed in Linux it would also run with the correct Python version.
Using virtual environment you can install several python versions and more importantly you can install different modules version for each of those python revision (the main reason for running different python version is that some modules are not (yet) compatible with recent python releases). You can check how to create/update and activate different virtual environment here. Those env can use their own python version or share it, it is chosen at creation time (the python version you use when creating the env is the one that will be used any time you activate the env).
https://devguide.python.org/#status-of-python-branches provides a summary of the various release statuses.
features
new features, bugfixes, and security fixes are accepted.prerelease
feature fixes, bugfixes, and security fixes are accepted for the upcoming feature release.bugfix
bugfixes and security fixes are accepted, new binaries are still released. (Also called maintenance mode or stable release)security
only security fixes are accepted and no more binaries are released, but new source-only versions can be releasedend-of-life
release cycle is frozen; no further changes can be pushed to it.
Python 3.8 is currently in security mode, so only source releases (and no binary installers) are provided from Python itself.
As the page you linked to says,
According to the release calendar specified in PEP 569, Python 3.8 is now in the "security fixes only" stage of its life cycle: 3.8 branch only accepts security fixes and releases of those are made irregularly in source-only form until October 2024. Python 3.8 isn't receiving regular bug fixes anymore, and binary installers are no longer provided for it. Python 3.8.10 was the last full bugfix release of Python 3.8 with binary installers.
Python 3.8.10 was the last release at the bug fix stage, and so the last for which Python officially provided binary installers. If you want a binary installers for 3.8.12, you'll have to either make one yourself from the source or find someone else who has done it or will do it for you.
I installed one from here: https://github.com/adang1345/PythonWindows
The only plausible explanation for them not providing binaries seems to be "out of spite".