0 votes
1 view
in Devops and Agile by (28.1k 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 (48k 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.

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


Categories

...