Error Loading pygame program

How do I fix this error?

https://replit.com/@FerasShami/chessl-anarchy

Screenshots, links, or other helpful context: This is my own chess game I am making and one day the error happened by itself

pygame 2.5.2 (SDL 2.28.2, Python 3.10.11)
Hello from the pygame community. https://www.pygame.org/contribute.html
libGL error: MESA-LOADER: failed to open swrast: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/0lfnrz6nq5myv787cih78knzaqy9z9fc-mesa-23.1.9-drivers/lib/dri/swrast_dri.so) (search paths /nix/store/0lfnrz6nq5myv787cih78knzaqy9z9fc-mesa-23.1.9-drivers/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  155
  Current serial number in output stream:  156

Try the solution in this topic:

3 Likes

Hello, if the previous post solved your problem, please mark it as solution.
Otherwise, you can give more info.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.