----------------------------------------------------------------------------------
@MSGID:
<ba8cd770-e13b-48a8-b54f-d49c9947d4bcn@googlegroups.com> 18c252a9
@REPLY:
<mailman.357.1695843148.23016.python-list@python.org> bf649af6
@REPLYADDR Zuri Shaddai Kuchipudi
<kuchipudizurishaddai8@gmail.com>
@REPLYTO 2:5075/128 Zuri Shaddai Kuchipudi
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<595d0250-7c64-866e-bf53-44c5e433d153@wichmann.us> <34359189-43ad-4110-abbc-ad8310a75353n@googlegroups.com>
<mailman.357.1695843148.23016.python-list@python.org>
@RFC-Message-ID:
<ba8cd770-e13b-48a8-b54f-d49c9947d4bcn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Wednesday, 27 September 2023 at 21:32:53 UTC+2, Mats Wichmann wrote:
> On 9/27/23 05:17, Zuri Shaddai Kuchipudi via Python-list wrote:
> > hello everyone this the error that im getting while trying to
install and upgrade pip on what is the solution for it?
> >
> > C:
epository\\pst-utils-pc-davinci-simulator>pip install
> > You are using pip version 7.0.1, however version 23.2.1 is available.
> > You should consider upgrading via the `pip install --upgrade pip` command.
> > You must give at least one requirement to install (see "pip help install")
> >
> > C:
epository\\pst-utils-pc-davinci-simulator>pip install --upgrade pip
> > You are using pip version 7.0.1, however version 23.2.1 is available.
> > You should consider upgrading via the `pip install --upgrade pip` command.
> > Collecting pip
https://files.pythonhosted.org/packages/ba/19/e63fb4e0d20e48bd2167bb7e857abc0e21
679e24805ba921a224df8977c0/pip-23.2.1.tar.gz
> > Complete output from command python setup.py egg_info:
> > Traceback (most recent call last):
> > File "
", line 20, in
> > File
"c:\\users\\kuchipzppdata\\local\temp\\pip-build-gc4ekm\\pip\\setup.py", line 7
> > def read(rel_path: str) -> str:
> > ^
> > SyntaxError: invalid syntax
> PyPI *should* be returning a compatible version of pip to upgrade to.
> pip itself has long since dropped support for 2.7, and the version
> you`re trying to force is pretty clear:
>
> pip 23.2.1
>
> Meta
> License: MIT License (MIT)
> Author: The pip developers
> Requires: Python >=3.7
> ...
> Classifiers
> Development Status
> 5 - Production/Stable
> Intended Audience
> Developers
> License
> OSI Approved :: MIT License
> Programming Language
> Python
> Python :: 3
> Python :: 3 :: Only
> ...
>
> So "don`t do that".
>
> Why it`s trying to select an incompatible version when you ask to
> upgrade is not something I`d like to speculate on, for me personally
> that`s a surprise. Maybe something else you did before?
>
> Also make sure you`re using a pip that matches your Python. It`s usually
> safer if you invoke it as:
>
> python -m pip install --upgrade pip
>
> (or whatever the precise name of your Python 2 interpreter actually is)
the code that i want to run and all the libraries are written for
python 2 but i have seen a video where the person showed the 2to3 pip
method in which it rewrites the code in python 3 and shows all the
necessary changes.
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 50/109 301/1 467/888 4500/1 5000/111
5001/100 5005/49 5020/715 830
SEEN-BY: 5020/848 1042 4441 12000 5030/49 1081
5054/8 5061/133 5075/128
SEEN-BY: 5080/102 5083/1 444
@PATH: 5075/128 5020/1042 4441