knownsec / pocsuite3

pocsuite3 is an open-sourced remote vulnerability testing framework developed by the Knownsec 404 Team.
https://pocsuite.org
Other
3.66k stars 783 forks source link

求助 运行时报错 #297

Closed fbw867294173 closed 2 years ago

fbw867294173 commented 2 years ago

Traceback (most recent call last): File "D:\Python\Python39\Scripts\pocsuite-script.py", line 33, in sys.exit(load_entry_point('pocsuite3==1.9.5', 'console_scripts', 'pocsuite')()) File "D:\Python\Python39\Scripts\pocsuite-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "D:\Python\Python39\lib\importlib\metadata.py", line 77, in load module = import_module(match.group('module')) File "D:\Python\Python39\lib\importlib__init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 972, in _find_and_load_unlocked File "", line 228, in _call_with_frames_removed File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "D:\Python\Python39\lib\site-packages\pocsuite3__init__.py", line 10, in from .lib.core.common import set_paths File "D:\Python\Python39\lib\site-packages\pocsuite3\lib\core\common.py", line 27, in from pocsuite3.lib.core.data import conf File "D:\Python\Python39\lib\site-packages\pocsuite3\lib\core\data.py", line 2, in from pocsuite3.lib.core.log import LOGGER File "D:\Python\Python39\lib\site-packages\pocsuite3\lib\core\log.py", line 25, in FORMATTER = colorlog.LevelFormatter( File "D:\Python\Python39\lib\site-packages\colorlog\colorlog.py", line 160, in init super(LevelFormatter, self).init( File "D:\Python\Python39\lib\site-packages\colorlog\colorlog.py", line 91, in init super(ColoredFormatter, self).init(fmt, datefmt, style) File "D:\Python\Python39\lib\logging__init.py", line 574, in init__ self._style.validate() File "D:\Python\Python39\lib\logging\init__.py", line 426, in validate if not self.validation_pattern.search(self._fmt): TypeError: expected string or bytes-like object

13ph03nix commented 2 years ago

使用什么方式安装的呢,看起来像是 colorlog 依赖库的问题,可以升级试试

pip3 install --upgrade colorlog