-
Notifications
You must be signed in to change notification settings - Fork 26
Name of conda envs not returned #212
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
Name of conda envs not returned #212
Comments
@karthiknadig Please PET is unable to find I think the conda rc might be under |
I don't have any condarc files:
|
I think if we detect only one conda manager. Then I think making some assumptions is safe. The issue occurs if we detect conda manager inside an environment. |
This will be tricky, now we'll have to block conda discovery untill all managers are discovered and all envs are discovered. |
Actually, wait I think i can do this. |
I ran the latest from main, still don;t get the name:
|
@karthiknadig |
Duplicate of #203 |
Originall reported by @karthiknadig here #184 (comment)
Show Logs
The problem with not returning
name
is simple (solving the issue is complex)Assume you have 2 conda managers, we only discover 1 conda manager.
The conda manager we return has a conda rc file that says conda envs will be stored under
<Home>/my_conda_envs/
Now some conda envs are found here
<Home>/.conda/envs/buggy1
If we return
buggy1
, the conda manager we have returned will not be able to activatebuggy1
. because it will not look for envs under<Home>/.conda/envs/
This can be solved, but will require more work, to do with
conda_rc
and reading other configurations for the conda managers & the likeBasically
The text was updated successfully, but these errors were encountered: