sublimetext3 - Anaconda worker does not start in Sublime text (Conncetion to local host timing out)
问题描述
The following was the error I got
Sublime Text
IDAnaconda worker could not start because:
connection to localhost:63828 timed out after 0.2s. tried to
conned 7 times during 2.0 seconds
check that there is Python process executing the anaconda
jsonserver.py script running in your system. If there is check
that you can connectto your localhost writing the following
script in your Sublime Text 3 console:
import socket; socket.socket(socket.AF_INEL
socket.SOCK_STREAM).connect((iocalhost; 63828))
If anaconda works just fine after you received this error and
the command above worked you can make anaconda to do
not show you this error anymore setting the
'swallow_startup_errors' to 'true' in your configuration file.
Kindly help me out here.
解决方案
我在我的环境中修复了它,将默认的 Anaconda Python 解释器从 更改python
为python3
. 为此,请转到 Preferences > Package Settings > Anaconda > "Settings - Default" > "python_interpreter": "python3",
(line ~100)。
推荐阅读
- javascript - Angular 8 - 如何按类名获取最近的父级?
- mysql - 从选择中获取计数
- python - 数据框到分层 xml
- javascript - 我可以在语义-ui-react 卡中添加另一个组件而不会破坏它吗?
- javascript - 可以将伪类 (::after) 添加为 HTML 标记的一部分吗?
- vba - DCount 使用两个 Criteria
- python-3.x - 为什么这段代码变慢了?图形.py?
- json - Backstopjs 网站加载问题未通过延迟解决:出了什么问题?
- awk - 循环中的 awk '奇迹般地' 更改 -v 选项中的变量值
- java - 图形未出现在窗口中