Skip to content

cannot import 'token' from 'secrets' #5

@ayyneya

Description

@ayyneya

python gui.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "gui.py", line 31, in
from secrets import TOKEN # for debugging
ImportError: cannot import name 'TOKEN' from 'secrets' (C:\Program Files\Python38\lib\secrets.py)

Sorry to be a bother, I've been trying to get it to work but no luck, I've been able to solve (most) errors myself, but don't know what to do about this one. Thanks in any case.

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