Skip to content

ModuleNotFoundError: No module named 'sklearn.externals.funcsigs' #13

Description

@AlyaGomaa

Command used: ./zeek_anomaly_detector.py dataset/001-zeek-scenario-malicious

Branch: main

Error:
Traceback (most recent call last):
File "/.../zeek_anomaly_detector/./zeek_anomaly_detector.py", line 14, in
from pyod.models.pca import PCA
File "/.../zeek_anomaly_detector/venv/lib/python3.10/site-packages/pyod/init.py", line 3, in
from . import models
File "/.../zeek_anomaly_detector/venv/lib/python3.10/site-packages/pyod/models/init.py", line 2, in
from .abod import ABOD
File "/.../zeek_anomaly_detector/venv/lib/python3.10/site-packages/pyod/models/abod.py", line 17, in
from .base import BaseDetector
File "/.../zeek_anomaly_detector/venv/lib/python3.10/site-packages/pyod/models/base.py", line 14, in
from sklearn.externals.funcsigs import signature
ModuleNotFoundError: No module named 'sklearn.externals.funcsigs'

Environment
Python 3.10.12
scikit-learn==1.4.2
pyod==0.5.6
zat==0.4.7
i'm not using docker, i installed the tool locally

Possible cause:
in this issue in scikit library repo they said that funcsigs is no longer in scikit-learn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions