完整错误:requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8102): Max retries exceeded with url: /events (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2a185cd890>: Failed to establish a new connection: [Errno 111] Connection refused'))
visdom 没有正确启动对应端口,会出现以上问题
解决方法:终端输入
python -m visdom.server -port 8102