PTVS
PTVS copied to clipboard
The Python installed from Microsoft Store couldn't view installed packages when first use the environment.
Environment Build of Visual Studio: 17.1.0 Preview 2.0 [31904.282.main] Build of Python Package: 17.0.21295.2 OS version: Windows 11 Enterprise 21H2 Python install from Microsoft Store
Steps to Reproduce
- Create a new python application
- Expand the one Python Environment in "Python Environments" node
- Check the package list
Expected behavior
All the packages should listed


Additional context and screenshots
The Python installed from Microsoft Store couldn't view installed packages when first use the environment.

After I restart the VS, this issue is not reproduce.
This issue also can reproduce on today's environment.
After restart the VS, we can view installed packages.
I can't repro this. @linette-zyy Could you verify this again on the latest build?
@StellaHuang95 In today's build, I can't repro this when install packages(requests) in the 'Packages(PyPI)' search box
But i can repro this when install packages(requests) in the command prompt. After restart VS, 'requests' just appear in the list

Could be a race condition which might make repro'ing tricky.
In today's build 17.6.0 Preview 2.0 [33501.332.main], Python Package: 17.0.23055.1, pip install requests can be updated but pip uninstall requests no update. (Python installed from the Microsoft Store)
