Skip to content

SublimePythonIDE: No server response unsupported pickle protocol: 4 #94

Open

Description

@ZeroMorale

This issue comes up everytime i m trying to call python file via Terminus

Activity

  1. JulianEberius commented on Nov 8, 2019

    @JulianEberius
    Owner

    Thanks for reporting! However, I haven't updated or even used SublimePythonIDE in years, and can't really help anymore. Sorry. My guess would be some difference in Python version used in SublimeText and some other plugins, maybe? Pickle protocol 4 was introduced in Python 3.4, maybe some part of your stack uses Python >= 3.4 and some other part <3.4 and thus their communication fails?

    Sorry that I cannot be of more help.

    edit: well maybe one idea: SublimePythonIDE runs a background server doing the refactorings / calculating the completions etc, see module "server" . The server is autostarted with a Python that is detected the following way:

    python_detectors = [
            lambda: normalize_path(get_setting("python_interpreter", view, ""), True),
            lambda: normalize_path(project_venv_python(view)),
            lambda: normalize_path(shebang_line_python(view)),
            lambda: normalize_path(system_python())
        ]
    

    Without looking into the details, my guess would be that this server runs on a different version of Python than some other component, maybe ST2/3 itself?

  2. ZeroMorale commented on Nov 19, 2019

    @ZeroMorale
    Author

    What are you using now or can you advice me better option of using combination terminal + sublime + python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions