qtchaos/py_mega_account_generator

ModuleNotFoundError: No module named 'tenacity._asyncio'

Opened this issue · 2 comments

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.

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

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