WXSC-数据可视化实训


实训文档

密码:ekb9
文档链接点此

实训项目:
实训项目链接


遇到下述报错,用lsof那个命令查询端口占用,如这个pid是39326,用kill -9命令杀掉

  • Serving Flask app 'main'
  • Debug mode: on

Address already in use
Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
~/Python lsof -i:5000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 39326 root 5u IPv4 3929152084 0t0 TCP localhost:5000 (LISTEN)
python 39326 root 6u IPv4 3929152084 0t0 TCP localhost:5000 (LISTEN)
~/Python kill -9 39326

声明:sma blog|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - WXSC-数据可视化实训


Carpe Diem and Do what I like