Rohn Kerry
Rohn Kerry

Reputation: 155

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 missing from your computer". I am using Python version-3.7 and I have set the path of the Python in environment variable. Please help me how to solve this issue, I am new to Python.

Upvotes: 1

Views: 5956

Answers (2)

k_pedron
k_pedron

Reputation: 57

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

pip install selenium

Upvotes: 1

SteroidKing666
SteroidKing666

Reputation: 563

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

Upvotes: 0

Related Questions