Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k 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 (62.9k 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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...