Click here to Skip to main content
14,930,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have installed selenium but python code still ask me to install it, when I check it shows selenium installed.
Is there anything else we should do after installation? Restart PC or something..?

What I have tried:

pip3 install selenium

File "C:\Users\work\PY\browser\modules\", line 10, in <module>
from selenium import webdriver
ImportError: No module named selenium
Updated 18-Feb-20 23:22pm

1 solution

Are you sure it has been installed in a location that Python will search for imports? See 5. The import system — Python 3.7.6 documentation[^].
[no name] 19-Feb-20 5:40am
I dont know where python search for imports I just have message when check that it was already installed I dont understnad at all latest python and also in varible path added not work anything it just sh*tty win10 I may break this pc and go back to macos
Richard MacCutchan 19-Feb-20 7:32am
It's nothing to do with Windows, it's to do with Python; that is why I posted the above link. If you don't understand how the system works then you are going to have more problems in the future.
[no name] 19-Feb-20 7:34am
it has been installed: C:\Python36 and all things are there in folders
Richard MacCutchan 19-Feb-20 7:43am
Try "pip3 list", and "pip3 show selenium" to check it is properly installed.
[no name] 19-Feb-20 7:46am
[no name] 19-Feb-20 7:47am
C:\Users\work>pip3 show selenium
Name: selenium
Version: 3.141.0
Summary: Python bindings for Selenium
Author-email: UNKNOWN
License: Apache 2.0
Location: c:\python36\lib\site-packages
Requires: urllib3
Richard MacCutchan 19-Feb-20 7:50am
Sorry, I am out of ideas or suggestions.
[no name] 19-Feb-20 7:51am
no prob thx for your time anyways

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900