Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anaconda worker doesn't start due to asyncore and asynchat missing #940

Open
RenHoekNL opened this issue Nov 26, 2023 · 1 comment
Open

Comments

@RenHoekNL
Copy link

I installed the latest Python version (python-3.12.0-amd64.exe) today and installed the package. It complained that the worker isn't running.

I tried starting the worker by hand to see what's going on:

cd "%appdata%\Sublime Text 3\Packages\Anaconda"
python -B anaconda_server/jsonserver.py -p test 9999 DEBUG

I got the following errors:

  • ModuleNotFoundError: No module named 'asyncore'
  • ModuleNotFoundError: No module named 'asynchat'

Which could be solved by

python -m pip install pyasyncore
python -m pip install pyasynchat

Turns out that asyncore and asynchat (ref:https://pypi.org/project/pyasynchat/) are no longer part of the standard modules.

@jbartolozzi
Copy link

I had to do the following since these packages arent managed in homebrew

pip install pyasynchat --break-system-packages
pip install pyasyncore --break-system-packages

I also had to do this wbond/package_control#1612 (comment)
in order to get Sublime Package manager working again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants