Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k points)

I installed pip on Windows by downloading and running python install

Installation went fine with no errors.

But when I tried installing selenium package with it, it gives me the following error -

pip install -U selenium

Unknown option: u

Unknown or unsupported command 'install'

Where I'm making the mistake?

1 Answer

0 votes
by (50.2k points)

First, make sure that do you have Perl pip lying around.

To check that go to cmd and run the following command

C:\>where pip

If it will give you the output like this



There you got the error to resolve this we have 2 ways

Uninstall Strawberry Perl 

Use the full path to python.

This will help you to install pip on windows.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers


108k users

Browse Categories