I am trying to import Selenium to my Python code but it won't work.
I tried to install selenium in different ways. First, I installed it in cmd using "pip install selenium". Since importing of selenium didn't work I tried to install it using "pip3 install selenium" which wouldn't work either. I've tried to uninstall it a couple of times and reinstall, but none of my approaches seem to work. Pip even shows that selenium is installed on my system so I have no clue why Python won't let me import selenium.
The error message I get when I try to import selenium is the following:
ModuleNotFoundError Traceback (most recent call last) in () ----> 1 from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
I would very much appreciate if someone gave me any tips on how to proceed.
Thanks a lot!
Bastian