Traceback (most recent): File "F:\adt-bundle-windows-x86_64-20140702\eclipse\workspace1\XueChe\src\xueche2 \0\xueche.py ", line A, in <module> driver = Webdriver. Remote (' Http://127.0.0.1:4723/wd/hub ', desired_caps) File "Build\bdist.win-amd64\egg\appium\webdriver\ webdriver.py ", line +, in __init__ File" F:\Python27\lib\site-packages\selenium-2.46.0-py2.7.egg\selenium\webdriver \remote\webdriver.py ", line-__init__, in-self.start_session (Desired_capabilities, Browser_profile) File" F:\Python2 7\lib\site-packages\selenium-2.46.0-py2.7.egg\selenium\webdriver\remote\webdriver.py ", line 138, in Start_session ' Desiredcapabilities ': desired_capabilities, File "F:\Python27\lib\site-packages\selenium-2.46.0-py2.7.egg\ selenium\webdriver\remote\webdriver.py ", line 193, in execute response = Self.command_executor.execute (Driver_command , params) File "F:\Python27\lib\site-packages\selenium-2.46.0-py2.7.egg\selenium\webdriver\remote\remote_ connection.py ", Line 358,In Execute return self._request (command_info[0], url, body=data) File "F:\Python27\lib\site-packages\selenium-2.46.0- py2.7.egg\selenium\webdriver\remote\remote_connection.py ", line 426, in _request resp = opener.open (Request) File" F:\ python27\lib\urllib2.py ", line 431, in open response = Self._open (req, data) File ' F:\Python27\lib\urllib2.py ', line 4 _open ' _open ', req) file "F:\Python27\lib\urllib2.py", line 409, in _call_chain result = Func (*args) file " F:\Python27\lib\urllib2.py ", line 1227, in Http_open return Self.do_open (httplib. Httpconnection, req) File "F:\Python27\lib\urllib2.py", line 1197, in Do_open raise Urlerror (Err) urllib2. Urlerror: <urlopen error [Errno 10061] >
Run Python program unexpectedly error, then ... Actually is the Internet Explorer uses the agent, I go ah, this which with where, I use Fillder will automatically add 127.0.0.1 as IE agent, sweat, remove can
Python run Error: urllib2. Urlerror: <urlopen error [Errno 10061] >