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

前端 未结 6 2023
孤城傲影
孤城傲影 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:34

    I had this issue on my Mac. On a terminal I checked if the jsonserver.py was running.

    $ ps aux | grep jsonserver
    user1         17170   0.0  0.0  4286488    856 s001  S+   10:51am   0:00.00 grep jsonserver.py
    user1         14803   0.0  0.4  4358656  74252   ??  S    10:31am   0:06.30 python -B /path/to/jsonserver.py -p cxda 51380 -e /path/to/folders/,/path/to/other/folder/ 7973
    user1         14787   0.0  0.2  4312684  26444   ??  S    10:31am   0:00.53 python -B /path/to/jsonserver.py -p cxda 51357 -e /path/to/folders/,/path/to/other/folder/ 7973
    

    The results showed I had two jsonservers running using the same port. So I disabled anaconda in Sublime using command+shift+p and searching for Package Control: Disable Package. Simply type disa and it should come up straight away.

    After disabling the package, I killed the two processes.

    $ kill 14803
    $ kill 14787
    $ ps aux | grep jsonserver
    user1         17220   0.0  0.0  4277272    840 s001  S+   10:52am   0:00.00 grep jsonserver.py
    

    Then I enabled the package via package control in sublime using command+shift+p. Enabling the package will start a new jsonserver.py. This solved the issue for me.

提交回复
热议问题