Back

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

I installed pip on Windows by downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.2.tar.gz#md5=47ec6ff3f6d962696fe08d4c8264ad49 and running python setup.py 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

C:\strawberry\perl\bin\pip

C:\strawberry\perl\bin\pip.bat

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

Browse Categories

...