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

AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'? #329

Open
rick1day opened this issue Jul 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rick1day
Copy link

Whether the latest code is used
Yes

Bug description
Error when run python3 oneforall.py --help

Operation environment

  • System information: Mac OS
  • Python version: Python 3.11.2
  • OneForAll version: Latest version

How to reproduce

  1. Step (optional)

  2. Command (required)
    python3 oneforall.py --help

Error text
python3 oneforall.py --help
Traceback (most recent call last):
File "/Users/nemo/OneForAll/oneforall.py", line 15, in
import export
File "/Users/nemo/OneForAll/export.py", line 13, in
from common import utils
File "/Users/nemo/OneForAll/common/utils.py", line 18, in
import tenacity
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/init.py", line 451, in
from tenacity._asyncio import AsyncRetrying
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/_asyncio.py", line 33, in
class AsyncRetrying(BaseRetrying):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/_asyncio.py", line 41, in AsyncRetrying
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?

@rick1day rick1day added the bug Something isn't working label Jul 14, 2023
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