Skip to content

Global name "keyring" is not defined #50

@Bmarquez1997

Description

@Bmarquez1997

When running the yagmail.register command, I get the following message:

(username and password removed for privacy)

yagmail.register("","")
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/oprint/local/lib/python2.7/site-packages/yagmail/password.py", line 37, in register
keyring.set_password("yagmail", username, password)
NameError: global name 'keyring' is not defined

I followed the steps in the readme, first importing yagmail, and then running the register command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions