mandeep / sublime-text-conda

Work with conda environments in Sublime Text 3
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

Can't find environments #39

Open mmonti92 opened 10 months ago

mmonti92 commented 10 months ago

Hello, I installed the conda package through the package control manager on Sublime text built 4152, on Windows 11. I already have Miniconda installed in the system with an environment that works well. I tried to configure the conda settings so that it would use my miniconda installation, my settings look like this now:

{
    "executable": "C:\\Users\\xxx\\miniconda3\\python.exe",
    "environments_directory": "C:\\Users\\xxx\\miniconda3\\envs\\",
    "run_through_shell": true
}

However if I try to run any related command in the command palette, ex. conda: activate environment, or conda: list environment. it only finds the base env. Which is annoying, because I would like to use the environments already created (I have only one now and it runs python 3.11). Then I tried to create a new environment form the command palette, because I wanted to see if it could be detected in this case. It seemed to be created ok, in fact I can see it from my powershell if I list the environments, however conda in Sublime still fails to find it (I tried to restart ST a few times in all of that but didn't make much of a difference)

So any help/suggestion is appreciated

mandeep commented 10 months ago

@mmonti92 Thanks for your report. I will download a copy of ST4 and give this a try. I can't promise it will be soon however.

It's quite possible that something has changed in Conda that has broken this plugin.