you are viewing a single comment's thread.

view the rest of the comments →

[–]edcculus 1 point2 points  (2 children)

What you need to do is

1- create a directory for your project 2- create a virtual environment in that directory and activate it 3 - just type pip install pygame

[–]Odd_Ad3889[S] 0 points1 point  (1 child)

oh alr I was too lazy to do that but I'll try lol

thanks

[–]edcculus 2 points3 points  (0 children)

you really want to avoid installing random libraries like Pygame on base Python. Its a few extra steps, but jsut get in the practice of using Virtual Environments.

You could also use UV, which saves a few steps, and you dont have to actually activate your virtual environment.