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 'tenacity._asyncio' #16

Open
vpier111 opened this issue Nov 16, 2023 · 2 comments
Open

ModuleNotFoundError: No module named 'tenacity._asyncio' #16

vpier111 opened this issue Nov 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@vpier111
Copy link

Hi, I recently filed a bug report from my desktop, and the latest update fixed the bug, however when I try to use this script on my laptop, I keep getting an error. I have run all the required commands, including installing the required modules, and have also tried repairing python, none of which worked. Here is a full log of my terminal:

Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.

C:\Users\viper\py_mega_account_generator>python main.py
Traceback (most recent call last):
  File "C:\Users\viper\py_mega_account_generator\main.py", line 8, in <module>
    from utilities.etc import p_print, clear_console, Colours, clear_tmp, reinstall_tenacity, check_for_updates, delete_default
  File "C:\Users\viper\py_mega_account_generator\utilities\etc.py", line 7, in <module>
    from mega import Mega
  File "C:\Users\viper\AppData\Local\Programs\Python\Python312\Lib\site-packages\mega\__init__.py", line 1, in <module>
    from .mega import Mega  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\viper\AppData\Local\Programs\Python\Python312\Lib\site-packages\mega\mega.py", line 18, in <module>
    from tenacity import retry, wait_exponential, retry_if_exception_type
  File "C:\Users\viper\AppData\Local\Programs\Python\Python312\Lib\site-packages\tenacity\__init__.py", line 451, in <module>
    from tenacity._asyncio import AsyncRetrying
ModuleNotFoundError: No module named 'tenacity._asyncio'

C:\Users\viper\py_mega_account_generator>

It seems this is only an issue on my laptop, so it may be an issue on my end.

@qtchaos
Copy link
Owner

qtchaos commented Nov 16, 2023

Try using Python 3.10, one of the dependencies is pretty old and doesn't like the newer versions of Python.

@qtchaos qtchaos added the bug Something isn't working label Nov 16, 2023
@qtchaos
Copy link
Owner

qtchaos commented Nov 17, 2023

Ideally we wouldn't have to deal with this so I'll leave the issue open for now.

@qtchaos qtchaos pinned this issue May 25, 2024
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