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

About running error #1

Closed
MasterOfStar opened this issue Mar 2, 2022 · 4 comments
Closed

About running error #1

MasterOfStar opened this issue Mar 2, 2022 · 4 comments

Comments

@MasterOfStar
Copy link

Which version of sklearn do I need to use? In the latest version (1.0.2), it does not work.

Traceback (most recent call last):
  File "test.py", line 26, in <module>
    tcp_syn_test(sys.argv[2:])
  File "test.py", line 18, in tcp_syn_test
    model = pickle.load(open("./saved_model/tcp_syn_data.sav", 'rb'))
ModuleNotFoundError: No module named 'sklearn.neighbors.classification'```

Can you give me a requirements.txt?
@Starkspider
Copy link

Starkspider commented Mar 2, 2022 via email

@DrakenWan
Copy link
Owner

Hi @MasterOfStar I am on this issue and resolve this ASAP.

@MasterOfStar
Copy link
Author

Hi @MasterOfStar I am on this issue and resolve this ASAP.

Thank you for your reply. I have solved the issue by trying to use the version of these dependencies as of April 2019.

python==3.6
matplotlib==3.0.3
numpy==1.19.5
pandas==0.24.2
scikit-learn==0.20.3
tqdm==4.31.1
And pickle is included on python

@DrakenWan
Copy link
Owner

DrakenWan commented Mar 4, 2022 via email

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

3 participants