-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
It seems that a specific (old) version of sklearn is needed to run SIREN. But as requirements.txt does not contain version numbers, I don't know which.
Any chance to get a pip freeze requirements.txt?
I created a clean environment:
damian@damian-thinkpad:~/Downloads/siren$ virtualenv env
damian@damian-thinkpad:~/Downloads/siren$ . env/bin/activate
(env) damian@damian-thinkpad:~/Downloads/siren$ pip install -r requirements.txt
and then get the following error when trying to run SIREN:
(env) damian@damian-thinkpad:~/Downloads/siren$ python simulation.py
simulation.py:1022: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control":
simulation.py:1064: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control":
simulation.py:1076: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control":
simulation.py:1092: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control":
simulation.py:1108: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control" and len(indecesOfChosenItems)>0:
simulation.py:1117: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.algorithm is not "Control":
Traceback (most recent call last):
File "simulation.py", line 25, in <module>
from sklearn.datasets.samples_generator import make_blobs
ModuleNotFoundError: No module named 'sklearn.datasets.samples_generator'
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels