Thanks for posting your question in the Microsoft Q&A forum.
If the VS Code network connection wasn't blocked by a firewall/anti-virus, please check the install extension using the command line to bypass any UI-related issues during installation.
code --install-extension ms-python.python
Last but not least, Sometimes, issues can be related to corrupted user data. Try opening VS Code with a clean user data folder (delete or rename the old version).
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **