bbopt
bbopt copied to clipboard
bbopt seems to be stuck on old version of networkx
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 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.
@gcoon151 This should be fixed now on the latest version.
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 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.
Python 3.8, so not sure how that is happening then
@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?