Python: Unable to import Selenium using Jupyter

Issue

I’ve tried many different things to fix the problem, but when I use from selenium import webdriver, I always get ImportError: No module named selenium

Selenium is definitely installed in c:/Python27/Scripts using pip install selenium and also tried -m pip install -U selenium

Any suggestions? I’ve tried everything I could find on SO.

Solution

@Ankur Singh answered my question. I needed to go run conda install -c clinicalgraphics selenium in an Anaconda Prompt window before importing Selenium

Answered By – Conor

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published