Kiinitix / Malware-Detection-using-Machine-learning

Anomaly based Malware Detection using Machine Learning (PE and URL)
Apache License 2.0
97 stars 41 forks source link

Interpreter version? #6

Closed IMMORTALCHIRU closed 4 months ago

IMMORTALCHIRU commented 4 months ago

Help me out with the interpreter version?!

Kiinitix commented 4 months ago

python 3.8

IMMORTALCHIRU commented 4 months ago
C:\Users\chiru\OneDrive\Desktop\Malware-Detection-using-Machine-learning-main\.venv\lib\site-packages\sklearn\base.py:310: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 1.2.2 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.        
  warnings.warn(
Traceback (most recent call last):
  File "Extract/PE_main.py", line 189, in <module>
    clf = joblib.load('Classifier/classifier.pkl')
  File "C:\Users\chiru\OneDrive\Desktop\Malware-Detection-using-Machine-learning-main\.venv\lib\site-packages\joblib\numpy_pickle.py", line 587, in load      
    obj = _unpickle(fobj, filename, mmap_mode)
  File "C:\Users\chiru\OneDrive\Desktop\Malware-Detection-using-Machine-learning-main\.venv\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle 
    obj = unpickler.load()
  File "C:\Users\chiru\AppData\Local\Programs\Python\Python38\lib\pickle.py", line 1210, in load
    dispatch[key[0]](self)
KeyError: 0

Im getting this error? Help me?!

Kiinitix commented 4 months ago

If you need this project urgently, I’d suggest you to run it on docker. Give me 2-3 days, I’ll try making it compatible with newer version of python and update the required modules.

IMMORTALCHIRU commented 4 months ago

Don't worry i have resolved the issue. Thank you so much for help and continuous support!!