question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API not listing conda env with the same interpreter path

See original GitHub issue

Testing #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:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
karthiknadigcommented, Mar 21, 2022

Pre-release builds happen and publish once at 2:00AM mon-fri

0reactions
karrtikrcommented, Mar 22, 2022

Closing as a non-issue for now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found