# Error while installing 'python' extension

**URL:** https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607
**Category:** Python
**Created:** [July 11, 2022, 7:21pm UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607 "2022-07-11T19:21:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Narges](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@Narges](https://forum.codewithmosh.com/u/Narges)
#### Post date: [July 11, 2022, 7:21pm UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607/1 "2022-07-11T19:21:08Z")

</div>

I don’t know why I cannot install the python extension!

---

<div class="post-metadata">

### Author: ![northernocean](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@northernocean](https://forum.codewithmosh.com/u/northernocean)
#### Post date: [July 11, 2022, 11:50pm UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607/2 "2022-07-11T23:50:02Z")

</div>

In VS Code? Which extension? Pylance is probably the most important these days so if you have that you should be good.

---

<div class="post-metadata">

### Author: ![JohnLu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JohnLu](https://forum.codewithmosh.com/u/JohnLu)
#### Post date: [July 13, 2022, 4:11am UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607/3 "2022-07-13T04:11:34Z")

</div>

Considering you mentioned ‘extension’ I assume you were talking about VS Code? So maybe you can provide a lot more information like the error report so that we can know what kind of error you came across while installing.

---

<div class="post-metadata">

### Author: ![Narges](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@Narges](https://forum.codewithmosh.com/u/Narges)
#### Post date: [July 13, 2022, 11:23pm UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607/4 "2022-07-13T23:23:44Z")

</div>

Yes, I’d like to install the python extension in VS Code, but I get an XHR failed message!

---

<div class="post-metadata">

### Author: ![JohnLu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JohnLu](https://forum.codewithmosh.com/u/JohnLu)
#### Post date: [July 14, 2022, 9:18am UTC](https://forum.codewithmosh.com/t/error-while-installing-python-extension/13607/5 "2022-07-14T09:18:12Z")

</div>

This XHR failed message reminds me that I may come across a similar problem that involved XML file processing, I just ignored that error report because I didn’t do anything about XML, and my python script worked just fine, so I didn’t dig more profound at that time. Maybe you should do that too.
