ModuleNotFoundError: No module named 'pygame' | How to install pygame


Stuff with pygame:


Most of developer face this problem when we install pygame in system. Here we give best solution to solve this easily with the help of given steps


Step1. install pygame by "pip install pygame"


Step2.I found a link to the 64 pygame download! Here it is:


http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame


Just pick the corresponding version according to your python version and it should work. like magic.


Download file from here according to python version,for example.


pygame‑1.9.6‑cp37‑cp37m‑win32.whl

This file work in python 3.7(cp37m) like this you can download version according to our python version for example python 3.8(cp38m).


And paste this file into the script folder, script folder located in this path in your system.


C:\Users\naveen kumar\AppData\Local\Programs\Python\Python37-32\Scripts


Step3. run cmd and run file in script folder as:

C:\Users\naveen kumar\AppData\Local\Programs\Python\Python37-32\Scripts>pip install pygame‑1.9.6‑cp37‑cp37m‑win32.whl


Step4. It install successfully


#pygameimporterror #howtoinstallpygame #Installpygame #pygame #pygameforwindows #pygamewithwhlfile #howtoinstallpygame #howtofixpygameimporterror


If you face any python related stuff or project related issue, you can directly contact at here


Contact Us

Tel: (+91) 0120  4118730  

Time :   10 : 00  AM -  08 : 00 PM IST 

Registered address: G-69, Sector 63, 

 Noida - 201301, India

We Provide Services Across The different countries

USA    Australia   Canada   UK    UAE    Singapore   New Zealand    Malasia   India   Ireland   Germany

CodersArts is a Product by Sofstack Technology Solutions Pvt. Ltd.

  • CodersArts | Linkedin
  • Instagram