Traceback (most recent call last):

 "<string>", line 1, in <module>

 "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in get
return request('get', url, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)

 "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 413, in send
raise ConnectionError(e, request=request)requests.exceptions.ConnectionError: HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', error(110, 'Connection timed out')))
Traceback (most recent call last):


 "test.py", line 14, in <module>

env.render()


 "/home/chentao/software/gym/gym/core.py", line 192, in render

return self._render(mode=mode, close=close)


 "/home/chentao/software/gym/gym/envs/classic_control/pendulum.py", line 66, in _render

from gym.envs.classic_control import rendering


 "/home/chentao/software/gym/gym/envs/classic_control/rendering.py", line 23, in <module>

from pyglet.gl import *


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/gl/__init__.py", line 236, in <module>

import pyglet.window


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/window/__init__.py", line 1817, in <module>

gl._create_shadow_window()


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/gl/__init__.py", line 205, in _create_shadow_window

_shadow_window = Window(width=1, height=1, visible=False)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/window/xlib/__init__.py", line 163, in __init__

super(XlibWindow, self).__init__(*args, **kwargs)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/window/__init__.py", line 505, in __init__

config = screen.get_best_config(template_config)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/canvas/base.py", line 161, in get_best_config

configs = self.get_matching_configs(template)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/canvas/xlib.py", line 179, in get_matching_configs

configs = template.match(canvas)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/gl/xlib.py", line 29, in match

have_13 = info.have_version(1, 3)


 "/home/chentao/software/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pyglet/gl/glx_info.py", line 89, in have_version

client = [int(i) for i in client_version.split('.')]
ValueError: invalid literal for int() with base 10: 'None'
