扫描主机信息报错
来源:1-1 自动化运维开发实战课程导学
对于自己是一个挑战
2018-05-22
(imoocc) [root@ACCA0150 imoocc_py3_online]# python3 main.py
Traceback (most recent call last):
File "main.py", line 20, in <module>
from scanhosts.util.nmap_all_server import NmapNet
File "/usr/local/src/imoocc/imoocc_py3_online/scanhosts/util/nmap_all_server.py", line 21, in <module>
from scanhosts.lib.SnmpVMS import SnmpESXI
File "/usr/local/src/imoocc/imoocc_py3_online/scanhosts/lib/SnmpVMS.py", line 22, in <module>
from pyvim.connect import SmartConnect,Disconnect
ModuleNotFoundError: No module named 'pyvim.connect'
(imoocc) [root@ACCA0150 imoocc_py3_online]#
写回答
1回答
-
Jeson
2018-05-22
ModuleNotFoundError: No module named 'pyvim.connect'
缺少这个模块,请用这个方式安装下:
pip install pyvim
00
相似问题