运行代码时出现以下错误:
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc861bd8e48>: Failed to establish a new connection: [Errno 111] Connection refused'))
ConnectionRefusedError: [Errno 111] Connection refused
解决使用Visdom时的ConnectionError:连接拒绝问题,
最新推荐文章于 2025-10-11 13:10:01 发布
文章讨论了在尝试使用Visdom(如python-mvisdom.server)时遇到的ConnectionError,原因可能是localhost的8097端口被拒绝连接。作者提到可能的解决方案和Maxretriesexceeded的错误提示。
5011

被折叠的 条评论
为什么被折叠?



