在终端运行python -m visdom.server时出现问题
运行后的结果:
C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\visdom\server.py:39: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
ioloop.install() # Needs to happen before any tornado imports!
It's Alive!
Traceback (most recent call last):
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\visdom\server.py", line 1922, in <module>
download_scripts_and_run()
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\visdom\server.py", line 1918, in download_scripts_and_run
main()
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\visdom\server.py", line 1910, in main
start_server(port=FLAGS.port, hostname=FLAGS.hostname, base_url=base_url,
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\visdom\server.py", line 1791, in start_server
app.listen(port, max_buffer_size=1024 ** 3)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\web.py", line 2112, in listen
server.listen(port, address)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 152, in listen
self.add_sockets(sockets)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python
38\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\Zelmira\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError