Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installing a package for the first time on Microsoft Store Python, 'pip list' only shows the installed package. #8136

Open
ttSpace opened this issue Jan 14, 2025 · 3 comments
Assignees

Comments

@ttSpace
Copy link

ttSpace commented Jan 14, 2025

Describe the bug

Image

Python from Microsoft Store.

Steps to Reproduce

Upgrade a package from the Python Environments window, such as pip or setuptools.

Additional context and screenshots

Only pip is shown, and the other packages are no longer there.

Image

Output

Output for Pylance in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Tests)

Info: (14840) Server root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist
Info: (14840) Pylance language server 2024.12.100 (pyright version 1.1.390, commit 2f28cd39) starting
Info: (14840) Starting service instance "PythonApplication4"
Info: (14840) No include entries specified; assuming c:\Users\v-tingliu\source\repos\PythonApplication4
Info: (14840) Auto-excluding **/node_modules
Info: (14840) Auto-excluding **/__pycache__
Info: (14840) Auto-excluding **/.*
Info: (14840) Found 1 source file
Info: (14840) No include entries specified; assuming c:\Users\v-tingliu\source\repos\PythonApplication4
Info: (14840) Auto-excluding **/node_modules
Info: (14840) Auto-excluding **/__pycache__
Info: (14840) Auto-excluding **/.*
Info: (14840) Found 1 source file
Info: (14840) Background analysis(1) root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist
Info: (14840) Background analysis(1) started
Info: (14840) [FG] Long operation: parsing: file:///c%3A/Program%20Files/Microsoft%20Visual%20Studio/2022/Preview/Common7/IDE/Extensions/Microsoft/Python/Core/pylance/dist/typeshed-fallback/stdlib/builtins.pyi (2263ms)
Info: (14840) Indexer background runner(2) root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist (index)
Info: (14840) Indexing(2) started
Info: (14840) scanned(2) 14 files over 1 exec env
Info: (14840) indexed(2) 14 files over 1 exec env
Info: (14840) Indexing finished(2).

@rchiodo
Copy link
Contributor

rchiodo commented Jan 14, 2025

That should have failed AFAIK (you didn't elevate). Does it work if you elevate when doing the install?

@rchiodo
Copy link
Contributor

rchiodo commented Jan 14, 2025

I can't reproduce this myself.

@ttSpace
Copy link
Author

ttSpace commented Jan 15, 2025

@rchiodo The pip package was successfully updated, but the other packages are missing. BTW, this only happens the first time the action is performed. (You can reinstall Python from the Microsoft Store to reproduce the issue.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants