Skip to content Skip to sidebar Skip to footer

Unable To Install Selenium Webdriver Through Command Prompt

When I try to install Selenium WebDriver on cmd prompt using command 'python setup.py install' I am getting error 'The program can't start because api-ms-win-crt-runtime-Il-1-0.dll

Solution 1:

Download get-pip.py to a directory in your computer.

Then run

python get-pip.py

Then do

pip install -U selenium

Then use this in your code:

from selenium import webdriver

Solution 2:

If you already have Python installed in your computer, then you need only do this:

pip install selenium

Post a Comment for "Unable To Install Selenium Webdriver Through Command Prompt"