palantir / python-language-server

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

Setting up PYLS #927

Open iqb1990 opened 3 years ago

iqb1990 commented 3 years ago

pyls is not working on my Ubuntu. With the command pyls -h I am getting the following result: usage: pyls [-h] [--tcp] [--host HOST] [--port PORT] [--check-parent-process] [--log-config LOG_CONFIG | --log-file LOG_FILE] [-v]

Python Language Server ...

However, the command python -m pyls -h provides a different result with main instead of pyls on the first line: usage: main .py [-h] [--tcp] [--host HOST] [--port PORT] [--check-parent-process] [--log-config LOG_CONFIG | --log-file LOG_FILE] [-v]

Python Language Server

Does this have something to do with pyls not working on Atom's python-ide? How can I fix it? I am on the latest version of python python --version Python 3.9.4

Thanks!