Skip to content

requirements.txt does not contain version numbers; yet, depends on specific versions... #2

@damian0604

Description

@damian0604

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions