Traceback (most recent call last):
File "/Users/mac/PycharmProjects/mega/megabot.py", line 3, in <module>
m = mega.login('тут email', 'тут пароль')
File "/Users/mac/PycharmProjects/megabot/venv/lib/python3.8/site-packages/mega/mega.py", line 45, in login
self._login_user(email, password)
File "/Users/mac/PycharmProjects/megabot/venv/lib/python3.8/site-packages/mega/mega.py", line 77, in _login_user
self._login_process(resp, password_aes)
File "/Users/mac/PycharmProjects/megabot/venv/lib/python3.8/site-packages/mega/mega.py", line 131, in _login_process
rsa_decrypter = RSA.construct(
File "/Users/mac/PycharmProjects/megabot/venv/lib/python3.8/site-packages/Crypto/PublicKey/RSA.py", line 604, in construct
raise ValueError("Invalid RSA condition")
ValueError: Invalid RSA condition
КОД:
from mega import Mega
mega = Mega()
m = mega.login('тут логин', 'тут пароль')
P.S.: Если анонимный вход (mega.login()), то всё завершается с exit code 0
Документация на всякий случай
https://pypi.org/project/mega.py/