palantir / python-language-server

An implementation of the Language Server Protocol for Python
MIT License
2.6k stars 282 forks source link

pyls doesn't initialize #833

Closed keevee09 closed 4 years ago

keevee09 commented 4 years ago

This is not a bug (I fixed my problem). I'm just putting it here for anyone else looking at the same error.

I updated the python virtual environment after installing the python-language-server. This caused nvim to print an error about pyls failing to initialize and something about ujson<=1.35 not being met.

Checking, I had ujson==3.0.0 so, in bash, I entered: pip install 'ujson==1.35' --force-reinstall

No more error message when opening a python file in nvim.