0

I installed Anaconda for Sublime Text 3 and after the installation it gives me the following error:

Anaconda worker could not start because: connection to localhost:52847 timed out after 0.2s. tried to connect 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 connect to your localhost writing the following script in your Sublime Text 3 console: import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(("localhost", 52847)) 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.

Autocompletion doesn't works too. Any solutions?

1 Answer 1

3

I fixed it in my environment changing the default Anaconda Python interpreter from python to python3. To do that, go to Preferences > Package Settings > Anaconda > "Settings - Default" > "python_interpreter": "python3", (line ~100).

PS: this appears to be a duplicate of this other question.

1
  • This approach fixes my same issue too.
    – David He
    Commented Mar 21, 2022 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.