evhub / bbopt

Black box hyperparameter optimization made easy.
Apache License 2.0
75 stars 8 forks source link

bbopt seems to be stuck on old version of networkx #9

Open gcoon151 opened 5 years ago

gcoon151 commented 5 years ago

I started playing with mycroft-precise for some personal stuff and bbopt seems stuck on a really old version of networkx.

That causes problems like this: https://github.com/MycroftAI/mycroft-precise/issues/92

and makes for ugly workarounds of nailing down versions like this: https://github.com/MycroftAI/mycroft-precise/pull/93

evhub commented 5 years ago

@gcoon151 I pinned networkx to fix a hyperopt bug, though possibly it's been fixed on the latest version of hyperopt. I'll check and see if it can be updated. For now, if you just pip install bbopt --no-deps and then install the dependencies you want manually it should work.

evhub commented 5 years ago

@gcoon151 This should be fixed now on the latest version.

PureTryOut commented 4 years ago

Sadly the same thing is happening again. It depends on networkx<2.0,>=1.0, but networkx is now version 2.4. Could the restrictions be loosened a bit?

evhub commented 4 years ago

@PureTryOut What Python version are you using? The current requirements should be set to networkx<2.0,>=1.0 on Python 2 but networkx>=2.2 on Python 3.

PureTryOut commented 4 years ago

Python 3.8, so not sure how that is happening then

evhub commented 4 years ago

@PureTryOut Are you sure you're using the latest version of bbopt? If you run pip install -U bbopt>=1.1.9, does that fix the problem?