# error when upgrading pip

**URL:** <https://forum.ansible.com/t/error-when-upgrading-pip/37650>\
**Category:** AWX Project\
**Created:** [February 11, 2023, 5:58pm UTC](https://forum.ansible.com/t/error-when-upgrading-pip/37650 "2023-02-11T17:58:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heba\_Ahmed](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@Heba\_Ahmed](https://forum.ansible.com/u/Heba_Ahmed)\
**Post date:** [February 11, 2023, 5:58pm UTC](https://forum.ansible.com/t/error-when-upgrading-pip/37650/1 "2023-02-11T17:58:53Z")

</div>

(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](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

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [February 15, 2023, 7:40pm UTC](https://forum.ansible.com/t/error-when-upgrading-pip/37650/2 "2023-02-15T19:40:59Z")

</div>

where are you seeing these errors?
