2013-01-04 3 views
-1

저는 python 2.7을 사용하고 있습니다. selenium-2.28.0 파일을 다운로드하고 C:\Python27에 압축을 풉니 다. 그런 다음 python setup.py install 명령을 실행 중이지만 오류가 발생합니다. 나는 32 비트 윈도우 7 PC를 사용하고있다windows7에 pip와 selenium을 설치할 수 없습니다.

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> 

무엇이 그럴 수 있냐? 압축 해제 된 파일 pip-1.2.1과 동일한 폴더에 selenium이 발생합니다.

여기 나를 인도 할 수 있습니까? 마침내

편집

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> 
+0

설치를 도와주세요. – CodeLover

+0

@Ross Patterson 당신은 나를 도울 수 있습니까? – CodeLover

+0

C : \ Python27 \ selenium-2.28.0> c : \ python27 \ python.exe setup.py –

답변

1

나는 easy_installer으로 내 문제를 해결했다. 필요한 모든 패키지를 python2.7과 함께 설치했습니다.

여기이 너무 다른 도움이 될 유튜브 링크 easy_installer

희망입니다!

관련 문제