r/learnpython • • 9d 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

7 comments sorted by

View all comments

1

u/socal_nerdtastic 9d ago

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

1

u/mynameisbob01 9d ago

I see. Thanks!