ConfigParser.NoSectionError:无节:'主要'

时间:2018-08-15 06:21:36

标签: python-2.7

我安装了habo恶意软件猎人,但是当我运行它时,出现以下错误:

habo@habo-VirtualBox:~/HaboMalHunter$ sudo python AnalyzeControl.py -z -l ./test_0813.zip Traceback (most recent call last):
  File "AnalyzeControl.py", line 688, in <module>
    ret = main(len(sys.argv), sys.argv)
  File "AnalyzeControl.py", line 615, in main
    cfg = init_arguments(argv)
  File "AnalyzeControl.py", line 156, in init_arguments
    cfg = init_cfg(args.config_path,args)
  File "AnalyzeControl.py", line 96, in init_cfg
    for k,v in conf_parser.items(SECTION_DEF):
  File "/usr/lib/python2.7/ConfigParser.py", line 642, in items
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'main'

0 个答案:

没有答案