Skip to content

Commit

Permalink
Update requirements.txt
Browse files Browse the repository at this point in the history
sklearn is an alias for scikit-learn
  • Loading branch information
aaronkollasch authored May 23, 2022
1 parent 594b45a commit 5de7bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jinja2
biopython
seaborn
billiard
sklearn
scikit-learn

2 comments on commit 5de7bab

@njrollins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe sklearn is still required-
I now get this error:
Traceback (most recent call last): File "/usr/local/bin/evcouplings", line 5, in <module> from evcouplings.utils.app import app File "/usr/local/lib/python3.9/dist-packages/evcouplings/utils/app.py", line 22, in <module> from evcouplings.utils import pipeline File "/usr/local/lib/python3.9/dist-packages/evcouplings/utils/pipeline.py", line 37, in <module> import evcouplings.align.protocol as ap File "/usr/local/lib/python3.9/dist-packages/evcouplings/align/__init__.py", line 3, in <module> from evcouplings.align.protocol import * File "/usr/local/lib/python3.9/dist-packages/evcouplings/align/protocol.py", line 25, in <module> from evcouplings.couplings.mapping import Segment File "/usr/local/lib/python3.9/dist-packages/evcouplings/couplings/__init__.py", line 3, in <module> from evcouplings.couplings.pairs import * File "/usr/local/lib/python3.9/dist-packages/evcouplings/couplings/pairs.py", line 28, in <module> from sklearn.linear_model import LogisticRegression ModuleNotFoundError: No module named 'sklearn'

@njrollins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funny enough, the error is fixed by 'pip install scikit-learn', which should have been installed along with the requirements..

Please sign in to comment.