Closed hungpham3112 closed 1 year ago
Hum, I cannot test it now on Windows, but I did in MacOSX and there is not that problem, but it could be that problem in Windows. And your thoughts make sense.
conda
binary is typically in some .../condabin
folder, typically in ~/Miniconda3/condabin
or something like that. You can check on your system.
Could you please verify if the output of echo $PATH
from different places makes such a condabin
folder to disappear?
I installed miniconda with scoop. conda still runs ok in different places, only appear like I described.
The issue should be fixed. Please check and let me know :)
Yes it works. I tested on cmd.exe and cmd.exe is problem. But still need to check if it working on others terminal or not( gnome-term, kde-term..).
@hungpham3112 Any news on this issue? :)
@hungpham3112 Any news on this issue? :)
Not yet, I'm still in the final exam of semester, I will update next week. Thanks.
I tested on Pop-OS (Ubuntu-based) 22.04 in allacritty
terminal with conda 23.5.0
and didn't see any error. I think the problem solved. Thanks for your hard work. Feel free to reopen if anybody still see the error after PR.
Step to reproduce:
vim -u test.vim
to load the setting:PlugInstall
to install vim-conda-activate:vert term
to open the terminal and check if conda exist then close terminal without leaving vim:e /python/file
to edit the python file:CondaActivate
an select a random env:vert term
to check conda will not exist.Additional information:
OS
: Windows 11Terminal
: Allacrittyvim-conda-activate
--version: latestMy thought:
Activating the command in vim-conda-activate so $PATH will be changed that leads to not recognize conda binary.