step 1:
在pycharm的terminal中进入对应的虚拟环境后,
输入
pip list
查看是否已安装visdom
step 2:
没安装的话
输入
pip install visdom -i https://pypi.tuna.tsinghua.edu.cn/simple/
安装visdom
step 3:
输入
python -m visdom.server
用于启用visdom
若出现
(Cofe-net) root@278d72103240:~# python -m visdom.server
Checking for scripts.
Downloading scripts, this may take a little while
It's Alive!
INFO:root:Application Started
INFO:root:Working directory: /root/.visdom
You can navigate to http://localhost:8097
代表启用成功(以上返回结果的出现可能需要很长时间)