python3 script fails when run as sudo

前端 未结 0 1158
清歌不尽
清歌不尽 2021-02-19 06:03

When I run the python script below on a raspberry pi using the pi user, it works perfectly.

#!/usr/bin/python3

from prometheus_client import start_http_server, S         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题