omnicomplete failure when importing modules installed via condas

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

omnicomplete failure when importing modules installed via condas

Ryan-2
Hi,

I seem to have run into a snag with vim's c-x c-o omnifunction capabilities when used with python modules installed via Anacondas.
Importing modules via conda, not present in the base system, causes omnifunction to fail completely and report "Pattern Not Found"

Does anyone know if there's a simple addition to .vimrc I can make to force omnicomplete to look in the anaconda install folder in my home directory?

Many Thanks,

Ryan
(running gvim on Debian 10)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/2ec9391b-a5cd-4ec2-afc0-89c637aaddde%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: omnicomplete failure when importing modules installed via condas

Ryan-2
Hi,

I've started using pipenv instead of anacondas: and then running gvim from within the pipenv enviroments which solves all of the issues.

cheers,

Ryan

On Friday, 6 March 2020 22:28:19 UTC, Ryan wrote:
Hi,

I seem to have run into a snag with vim's c-x c-o omnifunction capabilities when used with python modules installed via Anacondas.
Importing modules via conda, not present in the base system, causes omnifunction to fail completely and report "Pattern Not Found"

Does anyone know if there's a simple addition to .vimrc I can make to force omnicomplete to look in the anaconda install folder in my home directory?

Many Thanks,

Ryan
(running gvim on Debian 10)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d8bbe14f-22cd-41a5-9f47-8a7c8b9d199c%40googlegroups.com.