python-language-server icon indicating copy to clipboard operation
python-language-server copied to clipboard

Failed to load

Open danielnowakowski opened this issue 8 years ago • 2 comments

I'm using version 0.21.1. I have implemented custom client which communicates with the version of server that I mentioned. After initialization requests I am receiving pyls logs:

2018-10-15 12:26:20,904 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'autopep8': No module named 'autopep8' 2018-10-15 12:26:20,910 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'mccabe': No module named 'mccabe' 2018-10-15 12:26:20,912 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pycodestyle': No module named 'pycodestyle' 2018-10-15 12:26:20,912 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pydocstyle': No module named 'pydocstyle' 2018-10-15 12:26:20,913 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pyflakes': No module named 'pyflakes' 2018-10-15 12:26:20,914 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'rope_completion': No module named 'rope' 2018-10-15 12:26:20,915 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'rope_rename': No module named 'rope' 2018-10-15 12:26:20,916 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'yapf': No module named 'yapf'

I've been using version 0.14.0 before and I've not had these issues.

danielnowakowski avatar Oct 15 '18 12:10 danielnowakowski

@danielnowakowski I think you may need to install the (now) optional dependencies using pip install python-language-server[all]

gatesn avatar Oct 16 '18 21:10 gatesn

It solves the issue. Thanks.

danielnowakowski avatar Oct 17 '18 14:10 danielnowakowski