Question: how to configure pycharm for python 2.7?
Answer: You need to install the interpreter first. Then go to File -> Settings -> Project:dev -> Project Interpreter -> Set Python 2.7. Now go to Run -> Edit Configuration -> and set python Interpreter 2.7 here as given in the snapshot below-