https://bugs.kde.org/show_bug.cgi?id=419834

            Bug ID: 419834
           Summary: Python LSP does not start on Windows 10
           Product: kate
           Version: 19.12.2
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: d...@mmassa.ro
  Target Milestone: ---

SUMMARY

When editing a Python file on Windows 10, the LSP cannot be started. The error
message says that the command tha failed is

    python3 -m pyls --check-parent-process

If you install python from the main installer on python.org, the executable
name is still `python`, not `python3`. I think that the `python3` executable
get create only if you get Python from the Windows Store.

I have seen a mention in bug#419028 that another used was having problems with
LSP and the Python server, although is not clear to me whether the problem is
really the same or not.

STEPS TO REPRODUCE
1. Have pyls installed on your system (my case was `pip install
python-language-server[all]`)
2. Open a python file with Kate.

OBSERVED RESULT
LSP does not start, failure message is (translated to english)

    Cannot start server: python3 -m pyls --check-parent-process

EXPECTED RESULT
LSP should work

SOFTWARE/OS VERSIONS
Windows: 10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to