linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
379 stars 40 forks source link

Can not find conda envs enviroment #78

Closed ChengAoShen closed 7 months ago

ChengAoShen commented 8 months ago

This is the part of my neovim config about this plugins

        {"linux-cultist/venv-selector.nvim",
            dependencies = { "neovim/nvim-lspconfig", "nvim-telescope/telescope.nvim", 
                            "mfussenegger/nvim-dap-python","nvim-lua/plenary.nvim" },
            config = function()
                require("venv-selector").setup({
                    fd_binary_name = "find",
                    anaconda_base_path = "/opt/homebrew/Caskroom/miniconda/base",
                    anaconda_envs_path = "/opt/homebrew/Caskroom/miniconda/base/envs",

                })
            end,
            event = "VeryLazy", -- Optional: needed only if you want to type `: VenvSelect` without a keymapping
            keys = {{ "<leader>vs", "<cmd>VenvSelect<cr>" },}
        },

And this is my conda env list

image

However, this plugin can not find the environment as follows.

image

I'm looking for your reply! Thank you, sir.

linux-cultist commented 8 months ago

Hi,

Thanks for making a Github issue! I can look at this the coming weekend. It's been so much stuff going on right now so my time and energy is a bit limited. :)

ChengAoShen commented 8 months ago

Great, I'm looking for your reply. Thanks again for expressing my gratitude.

ChengAoShen commented 7 months ago

Hi sir, I'm still waiting for your reply! I really desire to use your plugins.

linux-cultist commented 7 months ago

Hi,

Thank you for the reminder. :) I also noticed now that you have put find as fd_binary_name, and that will not work unless you have replaced the find command with fd on your system? Normally when you install fd, it's called fd or fdfind or similar.

I'm only asking because some users have forgot to install fd and that's a requirement for the plugin to work. It doesn't work with find at the moment because I wanted it to be very fast. :)

ChengAoShen commented 7 months ago

Hi, thanks for your kind help, I forgot to install the fd command on my Mac, I originally thought that find could work similarly to the fd command. Now, I install fd, and the plugin works well, thanks again for you, sir.

linux-cultist commented 7 months ago

Great, enjoy the plugin :)