ImportError: No module named 'selenium' in PyCharm
From your screenshot, I can see that selenium is not installed. Please follow the next step:
1st solution:
File -> Settings -> Inside your project's name -> Project Interpreter -> click on "+" button -> search for selenium (current version 3.141.0) -> click on install -> restart PyCharm.
2nd solution:
Or click on the selenium word from the first line (from the import) and wait until a solution will be shown. The solution will say install selenium package. Press on it and you are done.
Screenshot for solution 2:
3rd solution:
If you have already installed the selenium then you need to install webdirver. Follow the following screenshot to solve it.
Screenshot for 3rd solution:
Pychram can use more than one environment for running your project. I guess you are using a different environment in which you have installed tools. Change the env by going
File > Settings > Prefrences > Project Interpreter.
Either change that to the local env or click + button below the window and add that package to current env.