Adding : python -c 'help(modules) to the other two suggestions:
#!/usr/bin/env python
import commands, pkgutil, re, sys
print('sys.modules.items()...')
print('\n'.join(sorted([re.findall(from '(.*)',str(v))[0] for k,v in
sys.modules.items() if str(v).find('from')-1])))
At the Terminal prompt type: python -c help('modules')
If Pygame is not somewhere in the output then Pygame is not yet installed.
If it is not installed then type: pip install --upgrade pygame
--
http://mail.python.org/mailman/listinfo/python-list
Type: python -V
(That was a capitol V) What version of python is running?
Type: python3 -V
(That was a capitol V) What version of python is running?
Type: python -c 'import pygame'
What is the exact error message?
Type: python
Your prompt should change to something like:
Type: import pygame