bbopt icon indicating copy to clipboard operation
bbopt copied to clipboard

bbopt seems to be stuck on old version of networkx

Open gcoon151 opened this issue 6 years ago • 6 comments

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

gcoon151 avatar Oct 26 '19 15:10 gcoon151

@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 avatar Oct 28 '19 04:10 evhub

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

evhub avatar Oct 28 '19 05:10 evhub

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?

PureTryOut avatar Aug 19 '20 09:08 PureTryOut

@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.

evhub avatar Aug 19 '20 19:08 evhub

Python 3.8, so not sure how that is happening then

PureTryOut avatar Aug 20 '20 09:08 PureTryOut

@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?

evhub avatar Aug 20 '20 20:08 evhub