Argument of type "None" cannot be assigned to parameter "screen" of type "XlibScreen" in function "__init__" "None" is incompatible with "XlibScreen" #2279
Pyright: Argument of type "None" cannot be assigned to parameter "screen" of type "XlibScreen" in function "__init__" "None" is incompatible with "XlibScreen" [reportArgumentType]
Likely you have ended up with the wrong pyglet version. You can also try the latest arcade 3.0dev30 release. It's about 2 years ahead on development compared to 2.6.
Bug Report
Only create simple Window and get error message:
System Info
Steps to reproduce/example code: