Maybe you tried the command "pip install selenium" and your python still shows the error no module named selenium. To easily install python to your PC you should type python version when trying to install, like this:
pip3.11 install selenium
Command depends on version of Python you have.