0 votes
1 view
in Devops and Agile by (19.8k points)

I am running Windows XP SP3 where I installed Python-3.4.1. I want to install [selenium] webdriver2 package using pip. I set the path variable of python in the right way on Window XP, so using CMD I run successfully python command. However, when I run pip install selenium it says that my command is unknown. Somewhere, I saw that PIP is embedded in Python-3.4.1.

How can I install a selenium package using pip (or any other means)? Should I declare the path variable to pip? If yes, where to find pip?

1 Answer

0 votes
by (63.4k points)

You can find pip in Path_to_Python_Home_Directory\C:\Python34\Scripts\pip.exe

Since you added a path environment variable to Python, I suppose you know how to do it for pip :)

Now you can install selenium this way: Path_to_Python_Home_Directory\C:\Python34\Scripts\pip.exe install selenium, OR: pip install selenium if you set its path environment variable.

 

enter image description here

 

I hope this helps!

Related questions

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


Categories

...