-1

I am using python 2.7. I have downloaded the files selenium-2.28.0 and unzipped to the C:\Python27 . Then running the command python setup.py install but getting an error. I am using 32 bit windows 7 pc

C:\Users>cd..

C:\>cd C:\Python27\selenium-2.28.0

C:\Python27\selenium-2.28.0>python setup.py install
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\Python27\selenium-2.28.0>setup.py install
Traceback (most recent call last):
  File "C:\Python27\selenium-2.28.0\setup.py", line 17, in <module>
    from setuptools import setup
ImportError: No module named setuptools

C:\Python27\selenium-2.28.0>

What could be the reason? the same for unzipped file pip-1.2.1 to the same folder as selenium is happening.

Can you guide me here?

EDIT

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Arup Rakshit>cd..

C:\Users>cd..

C:\>cd C:\Python27\selenium-2.28.0>
The syntax of the command is incorrect.

C:\>C:\Python27\selenium-2.28.0
'C:\Python27\selenium-2.28.0' is not recognized as an internal or external comma
nd,
operable program or batch file.

C:\>cd C:\Python27\selenium-2.28.0

C:\Python27\selenium-2.28.0>c:\python27\python.exe setup.py install
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    from setuptools import setup
ImportError: No module named setuptools

C:\Python27\selenium-2.28.0>
Ray
  • 2,472
  • 18
  • 22
CodeLover
  • 1,054
  • 6
  • 24
  • 40

1 Answers1

1

At last I have solved my issue by easy_installer. I have installed all the needed packages with python2.7.

here is the Youtube link easy_installer

Hope this would help other too!

CodeLover
  • 1,054
  • 6
  • 24
  • 40