python 2.7 - Pygame works in IDLE, but not in CMD\PowerShell [2.7.3][Win7] -


i have installed python 2.7.3 , installed pygame module appropriate 2.7.3 on computer.

i have been able run pygame , scripts importing pygame in idle. problem comes when go cmd prompt or powershell , try run python script makes use of pygame.

i following error in shell:

traceback (most recent call last):   file "<stdin>", line 1, in <module> importerror: no module named pygame 

what can solve issue? figure has pythonpath?


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -