Make ALE select the correct anaconda environment for linting #3681
Unanswered
AnkushMalaker
asked this question in
Q&A - Ask for help with problems
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use anaconda as my package manager mainly for creating python projects. Once I have activated an environment using "conda activate <env_name>" and I launch nvim, I'd expect that ALE and pylint select the environment activated to do the diagnostics. I use coc.nvim along with ALE, and have done the configuration by adding
"diagnostic.displayByAle": true
in my coc-configuration.json and addinglet g:ale_disable_lsp = 1
to my init.vim (using nvim).The desired behavior is not happening and ALE defaults to my default python environment. Since I'm using conda instead of pipenv, there isnt a $VIRTUAL_ENV environment variable that I can set, as mentioned in some other issues on this repository.
Can someone help with this? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions