(that error occurs when upgrading pip , can anyone know how to solve it)
Collecting pip
Using cached https://files.pythonhosted.org/packages/b5/16/5e24bf63cff51dcc169f43bd43b86b005c49941e09cc3482a5b370db239e/pip-23.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-cGurWG/pip/setup.py”, line 7
def read(rel_path: str) → str:
^
SyntaxError: invalid syntax