Registering issue: keyring.errors.NoKeyringError: No recommended backend was available
Opened this issue · 0 comments
system:
Operating System: EndeavourOS
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7500T CPU @ 2.70GHz
Memory: 15.5 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: Dell Inc.
Product Name: OptiPlex 3050
python package:
Version 3.12.3-1
python-yagmail-git package:
URL https://github.com/kootenpv/yagmail.git
Version r295.0591606-1
keyring package:
python-keyring
Store and access your passwords safely
URL https://github.com/jaraco/keyring
Version 25.2.1-1
Licences PSF-2.0 MIT
Dépend de python-jaraco.classes python-secretstorage python-jaraco.functools python-jaraco.context
Dépendances optionnelles python-keyrings-alt : Alternative backends [installed]
python-dbus : kwallet backend [installed]
Requis par python-keyrings-alt
Optionnel pour python-wheel python-yagmail-git
Taille installé 329.19 KiB
Empaqueteur Filipe Laíns lains@archlinux.org
Architecture any
Date de compilation Wednesday 5 June 2024 2 h 42 min 28 s UTC+2
Date d'installation Monday 17 June 2024 22 h 08 min 41 s UTC+2
Raison d'installation Explicitly installed
python code:
import yagmail
import keyring
yagmail.register(my_google_email_address, my_google_ app_key)
error message:
Traceback (most recent call last):
File "/home/jcag/PycharmProjects/googMail/googmail.py", line 46, in
yagmail.register('jcagpir@gmail.com', 'google app key')
File "/home/jcag/PycharmProjects/googMail/.venv/lib/python3.12/site-packages/yagmail/password.py", line 37, in register
keyring.set_password("yagmail", username, password)
File "/home/jcag/PycharmProjects/googMail/.venv/lib/python3.12/site-packages/keyring/core.py", line 61, in set_password
get_keyring().set_password(service_name, username, password)
File "/home/jcag/PycharmProjects/googMail/.venv/lib/python3.12/site-packages/keyring/backends/fail.py", line 28, in get_password
raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
Thhank you.