r/learnpython • • 5h ago

Issues related to setuptools while installing Pygame

I'm trying to install pygame on Python 3.15.2. I keep getting the following message:

ModuleNotFoundError: No module named 'setuptools._distutils.msvccompiler'

I've installed and updated buildconfig and setuptools. What am I missing?

2 Upvotes

4 comments sorted by

1

u/socal_nerdtastic 5h ago

pygame was abandoned. For modern python you need to install pygame-ce. (all your code remains the same as before)

1

u/mynameisbob01 5h ago

I see. Thanks!

1

u/BananaGrenade314 3h ago

Is it true? I didn't know