我今天刚开始使用python / canopy,我在公司机器上安装Canopy后无法从欢迎页面登录。在欢迎页面上,它说我没有互联网连接。我认为这是由于公司防火墙或其他网络限制。我想知道是否有任何办法解决这个问题。我从Preference-> Network->获得的错误详细的网络访问测试如下。我使用的是win7和Canopy版本1.5.2.2785:
Method: urllib2
Checking http://www.enthought.com/
Failed
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Checking https://www.enthought.com/
Failed
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Checking https://api.enthought.com/
Failed
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Checking https://grits.enthought.com/
Failed
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Checking https://training.enthought.com/
Failed
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Checking https://storage-cf.enthought.com/www/canopy/etod-has-access.png
Failed
Expected failure: ssl in python <= 2.7.8 does not support TLS SNI extension
URLError(gaierror(11004, 'getaddrinfo failed'),)
{'reason': gaierror(11004, 'getaddrinfo failed')}
Method: requests
Checking http://www.enthought.com/
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Checking https://www.enthought.com/
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Checking https://api.enthought.com/
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Checking https://grits.enthought.com/
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Checking https://training.enthought.com/
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Checking https://storage-cf.enthought.com/www/canopy/etod-has-access.png
Failed
ConnectionError(ProtocolError('Connection aborted.', gaierror(11004, 'getaddrinfo failed')),)
{'request': <PreparedRequest [GET]>, 'response': None}
Method: qt
Checking http://www.enthought.com/
Failed
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host www.enthought.com not found
Checking https://www.enthought.com/
Failed
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host not found
Checking https://api.enthought.com/
Failed
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host not found
Checking https://grits.enthought.com/
Failed
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host not found
Checking https://training.enthought.com/
Failed
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host not found
Checking https://storage-cf.enthought.com/www/canopy/etod-has-access.png
Failed
Expected failure: ssl linked with Qt does not support TLS SNI extension
PySide.QtNetwork.QNetworkReply.NetworkError.HostNotFoundError
Host not found
答案 0 :(得分:0)