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

Native Locator does not return all windows store pythons #23462

Open
karthiknadig opened this issue May 21, 2024 · 0 comments
Open

Native Locator does not return all windows store pythons #23462

karthiknadig opened this issue May 21, 2024 · 0 comments
Assignees
Labels
area-native-locator Issues with Rust based python locator bug Issue identified by VS Code Team member as probable bug needs PR Ready to be worked on

Comments

@karthiknadig
Copy link
Member

These are the pythons available:
image

It only reports the 3.12 from store. The other two global ones are not store pythons but python.org ones:

Content-Length: 94
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"log","params":{"message":"Starting Native Locator","level":"info"}}Content-Length: 331
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":"Python 3.11 (64-bit)","name":null,"pythonExecutablePath":"C:\\Python311\\python.exe","category":"windowsRegistry","version":"3.11.9","envPath":"C:\\Python311\\","envManager":null,"pythonRunCommand":["C:\\Python311\\python.exe"],"projectPath":null,"arch":null}}Content-Length: 371
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":"Python 3.7 (64-bit)","name":null,"pythonExecutablePath":"C:\\Program Files\\Python37\\python.exe","category":"windowsRegistry","version":"3.7.9","envPath":"C:\\Program Files\\Python37\\","envManager":null,"pythonRunCommand":["C:\\Program Files\\Python37\\python.exe"],"projectPath":null,"arch":null}}Content-Length: 586
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":"Python 3.12","name":null,"pythonExecutablePath":"C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\\python3.12.exe","category":"windowsRegistry","version":"3.12.3","envPath":"C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0","envManager":null,"pythonRunCommand":["C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\\python3.12.exe"],"projectPath":null,"arch":null}}Content-Length: 501
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":"base","pythonExecutablePath":"C:\\ProgramData\\Miniconda3\\python.exe","category":"conda","version":"3.10.9","envPath":"C:\\ProgramData\\Miniconda3","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\ProgramData\\Miniconda3","python"],"projectPath":null,"arch":null}}Content-Length: 151
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"envManager","params":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"}}Content-Length: 542
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":".conda","pythonExecutablePath":"C:\\GIT\\test_environments\\env1\\.conda\\python.exe","category":"conda","version":"3.7.16","envPath":"C:\\GIT\\test_environments\\env1\\.conda","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\GIT\\test_environments\\env1\\.conda","python"],"projectPath":null,"arch":null}}Content-Length: 546
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":".conda2","pythonExecutablePath":"C:\\GIT\\test_environments\\env1\\.conda2\\python.exe","category":"conda","version":"3.10.9","envPath":"C:\\GIT\\test_environments\\env1\\.conda2","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\GIT\\test_environments\\env1\\.conda2","python"],"projectPath":null,"arch":null}}Content-Length: 547
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":".conda","pythonExecutablePath":"C:\\GIT\\LSP\\jedi-language-server\\.conda\\python.exe","category":"conda","version":"3.7.1","envPath":"C:\\GIT\\LSP\\jedi-language-server\\.conda","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\GIT\\LSP\\jedi-language-server\\.conda","python"],"projectPath":null,"arch":null}}Content-Length: 527
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":".conda","pythonExecutablePath":"C:\\GIT\\demo\\demo_sample1\\.conda\\python.exe","category":"conda","version":"3.8.18","envPath":"C:\\GIT\\demo\\demo_sample1\\.conda","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\GIT\\demo\\demo_sample1\\.conda","python"],"projectPath":null,"arch":null}}Content-Length: 542
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":"named1","pythonExecutablePath":"C:\\Users\\kanadig\\.conda\\envs\\named1\\python.exe","category":"conda","version":"3.12.0","envPath":"C:\\Users\\kanadig\\.conda\\envs\\named1","envManager":{"executablePath":"C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","version":"23.1.0","tool":"conda"},"pythonRunCommand":["C:\\ProgramData\\Miniconda3\\Scripts\\conda.exe","run","-p","C:\\Users\\kanadig\\.conda\\envs\\named1","python"],"projectPath":null,"arch":null}}Content-Length: 383
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"pythonEnvironment","params":{"displayName":null,"name":null,"pythonExecutablePath":"c:\\GIT\\s p\\vscode-python\\.venv\\Scripts\\python.exe","category":"system","version":"3.8.10","envPath":"c:\\GIT\\s p\\vscode-python\\.venv","envManager":null,"pythonRunCommand":["c:\\GIT\\s p\\vscode-python\\.venv\\Scripts\\python.exe"],"projectPath":null,"arch":null}}Content-Length: 107      
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"log","params":{"message":"Native Locator took 19 milliseconds.","level":"info"}}Content-Length: 47
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"exit","params":null}
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label May 21, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label May 21, 2024
@karthiknadig karthiknadig added needs PR Ready to be worked on area-native-locator Issues with Rust based python locator and removed triage-needed Needs assignment to the proper sub-team labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-native-locator Issues with Rust based python locator bug Issue identified by VS Code Team member as probable bug needs PR Ready to be worked on
Projects
None yet
Development

No branches or pull requests

2 participants