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
CodePudding user response:
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.
CodePudding user response:
first you open Vscode programming and do the following steps. 1.press f1
2.search user setting
3.click enter
4.search on user setting " proxy "
5.click enter
6.look for "use the proxy support for extensions."
7.change overide to on