环绕在你心田 2021-09-11 16:14 采纳率: 0%
浏览 114
已结题

visdom启动失败

python -m visdom.server运行到
Checking for scripts.
It's Alive!
INFO:root:Application Started
You can navigate to http://localhost:8097
在网页输入http://localhost:8097后。网页打不开,并且报错

ERROR:tornado.application:Uncaught exception GET / (::1)
HTTPServerRequest(protocol='http', host='localhost:8097', method='GET', uri='/', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\tornado\web.py", line 1702, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\server.py", line 1635, in get
user=getpass.getuser(),
File "D:\download\Anaconda3\envs\SPSR\lib\getpass.py", line 168, in getuser
import pwd
ModuleNotFoundError: No module named 'pwd'
ERROR:root:ERROR: 500: {'exc_info': (<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'pwd'",), <traceback object at 0x000001B3D8D2BE88>)}
INFO:root:Traceback: ['Traceback (most recent call last):\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\tornado\web.py", line 1702, in _execute\n result = method(*self.path_args, **self.path_kwargs)\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\server.py", line 1635, in get\n user=getpass.getuser(),\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\getpass.py", line 168, in getuser\n import pwd\n', "ModuleNotFoundError: No module named 'pwd'\n"]
ERROR:root:rendering error page
ERROR:root:[Errno 2] No such file or directory: 'D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\static\error.html'
ERROR:tornado.access:500 GET / (::1) 4.00ms
ERROR:tornado.application:Uncaught exception GET / (::1)
HTTPServerRequest(protocol='http', host='localhost:8097', method='GET', uri='/', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\tornado\web.py", line 1702, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\server.py", line 1635, in get
user=getpass.getuser(),
File "D:\download\Anaconda3\envs\SPSR\lib\getpass.py", line 168, in getuser
import pwd
ModuleNotFoundError: No module named 'pwd'
ERROR:root:ERROR: 500: {'exc_info': (<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'pwd'",), <traceback object at 0x000001B3D8DB1988>)}
INFO:root:Traceback: ['Traceback (most recent call last):\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\tornado\web.py", line 1702, in _execute\n result = method(*self.path_args, **self.path_kwargs)\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\server.py", line 1635, in get\n user=getpass.getuser(),\n', ' File "D:\download\Anaconda3\envs\SPSR\lib\getpass.py", line 168, in getuser\n import pwd\n', "ModuleNotFoundError: No module named 'pwd'\n"]
ERROR:root:rendering error page
ERROR:root:[Errno 2] No such file or directory: 'D:\download\Anaconda3\envs\SPSR\lib\site-packages\visdom\static\error.html'
ERROR:tornado.access:500 GET / (::1) 4.00ms

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 9月19日
    • 创建了问题 9月11日

    悬赏问题

    • ¥15 报酬10000,做一个简单的换汇网站
    • ¥15 关于#vue.js#的问题:word excel和ppt预览问题语言-javascript)
    • ¥15 Apache显示系统错误3该如何解决?
    • ¥30 uniapp小程序苹果手机加载gif图片不显示动效?
    • ¥20 js怎么实现跨域问题
    • ¥15 C++dll二次开发,C#调用
    • ¥15 请教,如何使用C#加载本地摄像头进行逐帧推流
    • ¥15 Python easyocr无法顺利执行,如何解决?
    • ¥15 为什么会突然npm err!啊
    • ¥15 java服务连接es读取列表数据,服务连接本地es获取数据时的速度很快,但是换成远端的es就会非常慢,这是为什么呢