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
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
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
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.