命令
1
| docker run --network=host -e SERVER="xxx.com" -e USER="xxx" -e PASSWORD="xxx" -e PROBEPORT="xxx" dtcokr/serverstatus:client
|
报错内容
1 2 3 4 5 6
| Fatal Python error: pyinit_main: can't initialize time Python runtime state: core initialized PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6f6c390 (most recent call first): <no Python frame>
|
解决
1 2 3 4
| sudo apt-key adv --keyserver OpenPGP Keyserver --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list sudo apt update sudo apt install -t buster-backports libseccomp2
|
参考链接
https://community.home-assistant.io/t/migration-to-2021-7-fails-fatal-python-error-init-interp-main-cant-initialize-time/320648/9