I have python 3.7 with 32bit and after I did pip install pygame
, I'm still getting
ModuleNotFoundError: No module named 'pygame'
when running my code. I'm using pycharm.
I would just like to add to what the first answer is saying: If you are using pycharm, it still won't work until you go to file >> settings >> >> [your project name] >> python interpreter. You will see a list of packages there. If pygame is on it, then good, else, you must double click on the field where the packages are. It leads you to a little pop up box where you can type in things. If you type in pygame, you should be able to install the package.
To be sure that you installed the python3 proper module u need to use
pip3 install pygame
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With