You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Neovim 0.5.0-dev+nightly with pyls which works well and quickly for most packages like numpy for example. However when used with the fastai library the LSP just returns:
The fastai library is designed to be imported this way so changing this line isn't really a viable option.
To reproduce my issue you can install fastai via miniconda3: conda install -c fastai -c pytorch fastai
and then install python-language-server: conda install python-language-server
Then open a file in neovim with the conda-env enabled and pyls enabled, here is a short example file:
all of these functions show as having warnings, for example for the path= line: 'untar_data' may be undefined, or defined from star imports: fastai.vision.all
And the hover help for example doesn't work for these functions. Is there something that can be done to make wildcard imports like this work correctly with the language server?
If there is anymore information I can give you please let me know. Thanks
The text was updated successfully, but these errors were encountered:
I am using Neovim 0.5.0-dev+nightly with
pyls
which works well and quickly for most packages likenumpy
for example. However when used with thefastai
library the LSP just returns:The
fastai
library is designed to be imported this way so changing this line isn't really a viable option.To reproduce my issue you can install fastai via miniconda3:
conda install -c fastai -c pytorch fastai
and then install python-language-server:
conda install python-language-server
Then open a file in neovim with the conda-env enabled and
pyls
enabled, here is a short example file:all of these functions show as having warnings, for example for the
path=
line:'untar_data' may be undefined, or defined from star imports: fastai.vision.all
And the hover help for example doesn't work for these functions. Is there something that can be done to make wildcard imports like this work correctly with the language server?
If there is anymore information I can give you please let me know. Thanks
The text was updated successfully, but these errors were encountered: