Pygame does not work in Pycharm despite everything works at python IDLE.
It says:
AttributeError: module 'pygame' has no attribute 'init'
Even though the given information is not enough for properly answering this question, I can tell you a one cause for this error from my personal experience. 
Most probably you have named your source file as pygame.py or you have a directory named pygame somewhere in your path.
Pycharm IDE issue/problem on pygame module