Skip to content

API not listing conda env with the same interpreter path #18736

Closed
@DonJayamanne

Description

@DonJayamanne

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions