This repository was archived by the owner on Dec 21, 2025. It is now read-only.
Description Importing curio in python 3.12 results in the following error:
In [1]: import curio
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import curio
File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/__init__.py:6
3 __version__ = ' 1.6'
5 from .errors import *
----> 6 from .queue import *
7 from .task import *
8 from .time import *
File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/queue.py:20
18 from .errors import CurioError, CancelledError
19 from .meta import awaitable, asyncioable
---> 20 from . import workers
22 __all__ = [' Queue' , ' PriorityQueue' , ' LifoQueue' , ' UniversalQueue' ]
24 class QueueBase :
File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/workers.py:23
21 from .traps import _future_wait, _get_kernel
22 from . import sync
---> 23 from .channel import Connection
25 # Code to embed a traceback in a remote exception. This is borrowed
26 # straight from multiprocessing.pool. Copied here to avoid possible
27 # confusion when reading the traceback message (it will identify itself
28 # as originating from curio as opposed to multiprocessing.pool).
30 class RemoteTraceback (Exception ):
File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/channel.py:31
28 # Authentication parameters (copied from multiprocessing)
30 AUTH_MESSAGE_LENGTH = mpc.MESSAGE_LENGTH # 20
---> 31 CHALLENGE = mpc.CHALLENGE # b'#CHALLENGE#'
32 WELCOME = mpc.WELCOME # b'#WELCOME#'
33 FAILURE = mpc.FAILURE # b'#FAILURE#'
AttributeError : module 'multiprocessing.connection' has no attribute 'CHALLENGE' Reactions are currently unavailable
Importing curio in python 3.12 results in the following error:
In [1]: import curio --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import curio File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/__init__.py:6 3 __version__ = '1.6' 5 from .errors import * ----> 6 from .queue import * 7 from .task import * 8 from .time import * File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/queue.py:20 18 from .errors import CurioError, CancelledError 19 from .meta import awaitable, asyncioable ---> 20 from . import workers 22 __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'UniversalQueue'] 24 class QueueBase: File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/workers.py:23 21 from .traps import _future_wait, _get_kernel 22 from . import sync ---> 23 from .channel import Connection 25 # Code to embed a traceback in a remote exception. This is borrowed 26 # straight from multiprocessing.pool. Copied here to avoid possible 27 # confusion when reading the traceback message (it will identify itself 28 # as originating from curio as opposed to multiprocessing.pool). 30 class RemoteTraceback(Exception): File ~/.local/miniconda3/envs/test-p312/lib/python3.12/site-packages/curio/channel.py:31 28 # Authentication parameters (copied from multiprocessing) 30 AUTH_MESSAGE_LENGTH = mpc.MESSAGE_LENGTH # 20 ---> 31 CHALLENGE = mpc.CHALLENGE # b'#CHALLENGE#' 32 WELCOME = mpc.WELCOME # b'#WELCOME#' 33 FAILURE = mpc.FAILURE # b'#FAILURE#' AttributeError: module 'multiprocessing.connection' has no attribute 'CHALLENGE'