API not listing conda env with the same interpreter path
See original GitHub issueTesting #18727
@karrtikr I cannot test the API
- Installed pre-release (that didnt work, it doesn’t have the new methods)
- I created a VSIX locally from dev (because of the previous not being available in marketplace).
Here’s the code
const interpreters = await pythonExt?.exports.environment.getEnvironmentPaths();
const tests = interpreters?.filter(item => item.path.endsWith('test1') || item.path.endsWith('test2'));
However in dev version, I cannot get a list of the conda environments without any executables? I.e. it doesn’t work
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Conda environment not showing up in VS Code - Stack Overflow
in vscode press ctrl+shift+p and type python:Select Interpreter you should see all the environment there. If it does not appear create a .py ......
Read more >Python: Select Interpreter doesn't show conda environments ...
"Python: Select Interpreter" should show conda envs (same as conda env list). Should be able to select desired conda environment.
Read more >Using Python environments in VS Code
Conda environments found by conda env list . Conda environments which do not have an interpreter will have one installed for them upon...
Read more >Python 2 & 3 Interpreter for Apache Zeppelin
If python is not in your $PATH you can set the absolute directory ... Conda is an package management system and environment management...
Read more >Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Make sure that you are in the same conda environment as your package. The conda info command tells you what environment is currently...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pre-release builds happen and publish once at 2:00AM mon-fri
Closing as a non-issue for now.