Closed ivergara closed 2 years ago
hello, I can't reproduce this with a fresh conda install, I need more details.
conda install -c conda-forge conda-tree 'networkx>=2.5'
Probably from a fresh install and only installing conda-tree
it might not happen. In my case, due to other packages, networkx
resolved to version 2.3.
I was just wondering if there was anything doable on your side to force a dependency version 2.5 for networkx when installing in Python 3.9, but I guess that falls more on that package's responsibility.
In any case thanks! I'll close it.
yes I understand, I could try to add 'networkx>=2.5' to conda-tree but then conda might just decide to install a older version of conda-tree without the restriction, just like its happening here with networkx...
I think conda install -c conda-forge conda-tree 'networkx>=2.5'
should help tho, I will add this to the readme.
Adding it to the readme might be a good solution. The problem of adding networkx>=2.5
is that that's only needed for Python 3.9 and not to older versions.
When installing
conda-tree
in a Python 3.9 environment, its execution failed. The reason is that the resolvednetworkx
version was 2.3 and that version doesn't support Python 3.9. Manually upgrading tonetworkx
2.5 solved the issue.