This is my first time installing and using VSCode, and when I try to install a python extension inside a VSCode application I get the error "Error While fetching extension. XHR failed" . How do I fix it? image
Asked
Active
Viewed 1.6k times
3 Answers
2
first you open Vscode programming and do the following steps.
Press f1
Search user setting
Click enter
Search on user setting "proxy"
Click enter
Look for "use the proxy support for extensions."
Change override to
on

Gregoire Cattan
- 555
- 7
- 19

Adra
- 21
- 1
1
The problem usually occurs because of the proxy settings. try the following steps:
1.setting
2.proxy settings
3.Enable Detect automatically setting
4.restart
or
go to google search https://marketplace.visualstudio.com/ search for python then install python.

Nitatuk
- 26
- 3
0
vscode->option-> user-> search 'proxy' ->clear 'http proxy" , it will be ok

carol huang
- 9
- 1
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 07 '22 at 10:25