Skip to content

Complains about 'pygame' not present in requirements.txt #2478

Open
@dr0id

Description

@dr0id

Environment:

Windows
PyCharm 2023.2.1 (Community Edition)
python 3.11

image

The IDE complains about 'pygame' not being in the requirements.txt, which looks like this:

pygame-ce==2.3.2

AFAIK I could suppress this warning, but then I would have to do it in every file. Maybe another workaround exists that I'm not aware of. There might also be other tools that might have similar warnings or even worse, if the requirements.txt is generate from the code, it will probably contain 'pygame' instead of 'pygame-ce'.

Not sure if this can be fixed because pygame-ce has been designed as a drop-in replacement for pygame.

Possible solution/idea:
Actually, i would not mind to write import pygamece for new projects. But this would probably mean a different package to install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions