Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99418

Selenium webdriver imports correct in the Python shell, but not when I write a script

$
0
0

So I am trying to use the selenium webdriver in a python script as follows:

from selenium import webdriver

Now this is all fine and dandy when I do it within the python shell, but if I write it into a script it tells me

Traceback (most recent call last):
  File "c:/Users/gvasquez/Scripts/viaUpdate.py", line 2, in <module>
    from Selenium import webdriver
ModuleNotFoundError: No module named 'selenium'.

Any thoughts? Thanks.


Viewing all articles
Browse latest Browse all 99418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>