qtchaos / py_mega_account_generator

🤖 Create and manage MEGA accounts with ease, upload and share files.
GNU General Public License v3.0
110 stars 21 forks source link

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

Open vpier111 opened 1 year ago

vpier111 commented 1 year ago

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 commented 1 year ago

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

qtchaos commented 1 year ago

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