Django3.1大神之路视频教程重磅推出!长达77小时、17G、233节 ,全方位无死角深入源码的专注教程!包含完整的模型层、数据迁移、 类视图、日志、认证权限和开发工具等更多文字教程未包含的内容。免费章节https://pan.baidu.com/s/1dqGWNwmBnLxhM7DnXiePIQ 提取码:ko4y 。查看视频介绍点我


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ㄒ)/~~