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

ModuleNotFoundError: No module named 'asyncore' #2841

Open
PandengWang opened this issue Apr 24, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'asyncore' #2841

PandengWang opened this issue Apr 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@PandengWang
Copy link

Snakemake version:8.10.8
Python version:3.12.3

Describe the bug

Traceback (most recent call last):

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 1949, in args_to_api
config_settings=ConfigSettings(
^^^^^^^^^^^^^^^

File "", line 6, in init

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/snakemake/settings.py", line 315, in post_init
self.overwrite_config = self._get_overwrite_config()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/snakemake/settings.py", line 323, in _get_overwrite_config
update_config(overwrite_config, load_configfile(f))
^^^^^^^^^^^^^^^^^^

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/snakemake/common/configfile.py", line 38, in load_configfile
config = _load_configfile(configpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/snakemake/common/configfile.py", line 23, in _load_configfile
import yte

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/yte/init.py", line 3, in
import plac

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/plac.py", line 29, in
from plac_ext import (Interpreter, import_main, ReadlineInput,

File "/public1/fsoftware/conda_envs/snakemake/lib/python3.12/site-packages/plac_ext.py", line 806, in
import asyncore

ModuleNotFoundError: No module named 'asyncore'

Additional context

image

@PandengWang PandengWang added the bug Something isn't working label Apr 24, 2024
@maarten-k
Copy link
Contributor

maarten-k commented Apr 25, 2024

This issue should be fixed in the latest version of plac. Can you try to update plac?

@PandengWang
Copy link
Author

This issue should be fixed in the latest version of plac. Can you try to update plac?

I downgraded the version of snakemake to 8.10.0, and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants