How to import a module in PyCharm

I had a difficulty in the starting on importing a module in PyCharm, and this is what I found after a bit of research.

Go to:

Settings -> Project -> Project Interpreter.

Click the “+” on the right side of the page, and search for any module, and click “Install”.

Note: You might get an error while installing a few modules, it’s basically because of the python version you use (Python 2 or Python 3).