Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlyaGomaa opened this issue May 2, 2024 · 0 comments
Open

Comments

@AlyaGomaa
Copy link

AlyaGomaa commented May 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant