Python run Error: urllib2. Urlerror: <urlopen error [Errno 10061] >

Source: Internet
Author: User

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] >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.