我试图在我正在运行的脚本中导入snmpSessionBaseClass python模块,但我没有安装该模块,而且似乎找不到下载它的位置。有人知道下载和安装这个模块的pip或yum命令吗?谢谢!在
import netsnmp
sys.path.insert(1, os.path.join(sys.path[0], os.pardir))
from snmpSessionBaseClass import add_common_options, get_common_options, verify_host, get_data
from pynag.Plugins import PluginHelper,ok,critical
需要将以下代码添加到名为snmpSessionBaseClass.py这个文件需要放在pythons路径下的目录中。在
相关问题 更多 >
编程相关推荐