开源堡垒机Jumpserver全网独家视频教程系列第一部上线了!免费章节pan.baidu.com/s/1LQ3c323XpG0is1172REnVg 提取码wp0i 视频详细介绍点我


user_image
By  一伊面一    On   2020年2月10日 00:01

Traceback (most recent call last): File "main.py", line 18, in <module> handler.ArgvHandler(sys.argv) File "/root/Client/core/handler.py", line 15, in __init__ self.parse_args() File "/root/Client/core/handler.py", line 24, in parse_args func() File "/root/Client/core/handler.py", line 58, in report_data asset_data = info.collect() File "/root/Client/core/info_collection.py", line 14, in collect info_data = func() File "/root/Client/core/info_collection.py", line 23, in linux return collect() File "/root/Client/plugins/collect_linux_info.py", line 36, in collect data.update(get_ram_info()) File "/root/Client/plugins/collect_linux_info.py", line 126, in get_ram_info item_ram_size = round(v.split()[0]) TypeError: type str doesn't define __round__ method,博主,我在ubuntu1604运行python3 main.py report_data后,出现这些报错,请问有什么解决方法/(ㄒoㄒ)/~~