atom-community / atom-community/ide-python

Not working with pylsp installed from Snap in Ubuntu 18.04

Open
#419 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I'm using ide-python with Atom 1.58.0 and Ubuntu 18.04.
I've installed Python language server from the Snap store, the executable pylsp is correctly addressed from a terminal (e.g. if I do `pylsp -h` or `pylsp -v`).
The version of pylsp should be 1.0.1.

However, when I start Atom I get the error "Unable to start the Python language server" etc.

In the ide-python settings the executable string is the default (`pylsp`).

Am I missing something?
Is it supposed not to be working this way? (I'd prefer not to use pip, to not have to take care of updates).

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with Atom 1.58.0 on Ubuntu 18.04, ide-python's default `pylsp` executable, and pylsp 1.0.1 installed from Snap. Compare the environment used by Atom with the terminal where `pylsp -h` works; done means the Python language server starts successfully from ide-python.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python, ubuntu
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.