[Operation and maintenance] python common error handling [deepin system] (python application running) (1)

  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: No module named 'ethtool'

Handling method

sudo pip3 install ethtool
  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: No module named 'ipaddr'

Handling method

sudo pip3 install ipaddr
  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: Class wok.plugins.kimchi.Kimchi can not be imported, error: No module named 'configobj'

Handling method

sudo pip3 install configobj
  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: Class wok.plugins.kimchi.Kimchi can not be imported, error: No module named 'magic'

Handling method

sudo apt install python3-magic
  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: Class wok.plugins.kimchi.Kimchi can not be imported, error: No module named 'paramiko'

Handling method

sudo pip install paramiko
  1. Error message
Failed to import plugin wok.plugins.kimchi.Kimchi, error: Class wok.plugins.kimchi.Kimchi can not be imported, error: No module named 'parted'

Handling method

sudo apt install python3-parted

Guess you like

Origin blog.csdn.net/macaiyun0629/article/details/109204445