Closed gwbischof closed 5 years ago
my conda env:
#
anaconda-client 1.7.2 py37_0 http://alexandria/conda/defaults
appdirs 1.4.3
The only line in ophyd is import networkx as nx
- what happens when you do that in your environment?
same error, I have networkx 2.3 installed
hmm same error with 2.2
OK, in that case it's not really an ophyd issue, but we should still see how to resolve it...
Brief search shows potentially related issues: https://stackoverflow.com/questions/49755099/attributeerror-module-networkx-has-no-attribute-utils https://stackoverflow.com/questions/42084985/attributeerror-module-networkx-has-no-attribute-graph
I switched back and forth a between 2.2 and 2.3, now it is working with both 2.2 and 2.3. I also reset the kernels when switching versions. I tested with ipython and jupyter notebook. Everything is good now. Maybe the issue was like they stated in your first stackoverflow link: https://stackoverflow.com/a/49811382/6513183
👍 Great! Glad to hear it was resolved, @gwbischof.
Thanks for the help
handler_registry:
NPY_SEQ: ophyd.sim.NumpySeqHandler
AttributeError Traceback (most recent call last)