sublimelsp / LSP-pylsp

Convenience package for the Python Language Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to start LSP-pylsp

I-AM-A-NOOB opened this issue · comments

It seems that the LSP-pylsp plugin doesn't support pylsp 1.7.3 yet.
version of the plugin: 2.11.1
Please add support for pylsp version 1.7.3

Failed to start LSP-pylsp - disabling for this window for the duration ofthe current session.
Re-enable by running "LSP: Enable Language Server In Project" from theCommand Palette.
--- ErOr ---
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simpleCollecting mypy==1.3.0
Using cached
https://pypituna.tsinghua.edu.cn/packages/cd/b9/6abe1cd8ac8e70f12f43eebe6427814f9d36142d331eae5cc5bba77585a2/mypy-1.3.0-cp311-cp311win amd64.whl (8.9 MB)
Collecting pyls-isort==0.2.2
Using cached
https://pypi.tunatsinghua.edu.cn/packages/be/61/775e74d8b5e34af59f8c607e7a1584d2a1774f1a1a4af8fc0a96ecc5e499/pyls-isort-0.2.2.tar.gz (2.7KB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'doneCollecting pylsp-mypy==0.6.6
Using cached
https://pypitunatsinghuaedu.cn/packages/6b/da/08322d708bfb4f92a2a468fef31b2c68202cdab795580a65a6969b6f904/pylsp mypy-0.6.6-py3-none-any.whl (10 kB)
Collecting python-lsp-black==1.2.1
Using cached
https://pypitunatsinghua.edu.cn/packages/0a/f4/dbadfbfbd1472569d8c8a8df7a89b8be0c15d3fa20fd635f0cc48467318e/python lsp black-1.2.1-py3-none-any.whl (6.2 kB)
Collecting python-lsp-ruff==1.4.0
Using cached
https://pypituna.tsinghua.edu.cn/packages/31/0c/a692c3fd6c084a1daafea0d922d97f532e1a61d168e482e022340adda35c/python lsp ruff-1.4.0-py3-none-any.whl (9.2 kB)
ERROR: Could not find a version that satisfies the requirementpython-lsp-serverlall]==1.7.3 (from versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.11.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.7.11.7.2)
ERROR: No matching distribution found for python-lsp-serverlall]==1.7.3

The error shows that the pypi mirror you are using doesn't have the 1.7.3 version of python-lsp-server. It's not an issue with this package.

You can see in https://pypi.org/project/python-lsp-server/ that 1.7.3 is published.

I’m guessing you should ask your university (pypituna.tsinghua.edu.cn) to upgrade its mirror packages.

Thanks. It worked after I changed the source of pip to pypi.org. BTW, I am not a student of Tsinghua University