Problem: The problem of python scripts not being executed after pycharm is installed
Cause: pycharm does not set a parser
Solution:
Open pycharm->File->Settings->Project Interpreter->Settings->Settings->Settings->Settings->Settings as your python path. Mine is: C:\Python27\, you can modify it according to your respective python installation path.