upgrade python version using pip
upgrade python version using pip
pip
is designed to upgrade python packages and not to upgrade python itself. pip
shouldnt try to upgrade python when you ask it to do so.
Dont type pip install python
but use an installer instead.
Basically, pip comes with python itself.Therefore it carries no meaning for using pip itself to install or upgrade python.
Thus,try to install python through installer itself,visit the site https://www.python.org/downloads/ for more help.
Thank you.
upgrade python version using pip
py -m pip install --upgrade python.
Maybe this code will help.