ubuntu 下ufw 不能正常使用。
ufw 已经安装,版本
root@VM-0-8-ubuntu:/home/ubuntu# sudo apt-get install ufw
Reading package lists... Done
Building dependency tree
Reading state information... Done
ufw is already the newest version (0.35-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
root@VM-0-8-ubuntu:/home/ubuntu# sudo ufw status
Traceback (most recent call last):
File "/usr/sbin/ufw", line 26, in <module>
import ufw.frontend
ModuleNotFoundError: No module named 'ufw'
root@VM-0-8-ubuntu:/home/ubuntu#
不知道什么原因导致,昨天还可以使用
https://bugs.alpinelinux.org/...
python版本的问题