palantir / python-language-server

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

error with python2 #930

Open zyokia opened 3 years ago

zyokia commented 3 years ago

I run pyls with python2 on debian10 like this "python2 -m pyls" When client send initialize, I received the error ContextualVersionConflict: (configparser 3.5.0b2 (/usr/lib/python2.7/dist-packages), Requirement.parse('configparser>=3.5; python_version < "3"'), set(['importlib-metadata']))

image

any ideas?Is the configparser has a wrong version?