Sublime Text 3: Anaconda package error connection to localhost timed out

前端 未结 6 1999
孤城傲影
孤城傲影 2021-02-08 16:17

I am getting a bizarre error message when starting up sublime text 3.

upon startup, I get the error below.

Here\'s some background on my system:

<
6条回答
  •  生来不讨喜
    2021-02-08 16:40

    1. Note

    I think, that this problem may arise by another reasons, than described in my answer. And you will need in another solutions.

    But my solution works for me personally.


    2. Answer

    Don't set "jsonserver_debug": true in settings, if you don't run jsonserver.py manually.

    If "jsonserver_debug": true, you need python -B anaconda_server/jsonserver.py -p test 9999 DEBUG in Anaconda folder, that Anaconda works correct.


    3. Demonstration

    3.1. Unexpected behavior

    If "jsonserver_debug": true:

    True

    If I open .py file:

        Anaconda doesn't work (not autoformat file in example).

    3.2. Expected behavior

    If "jsonserver_debug": false:

    False

    Anaconda successful autoformat example file.


    4. Environment

    My environment in time, when I wrote this answer:

    • Windows 10 Enterprise LTSB 64-bit EN,
    • Sublime Text Build 3143 portable,
    • Python 3.6.4, installed globally,
    • Anaconda 2.1.25.

提交回复
热议问题