megengine.hub.tools.check_module_exists

check_module_exists(module)[源代码]

检查 python 模块是否存在。

参数

module (str) – 模块的名字。

返回类型

bool