You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
This might not be a problem with networkx-metis per se, but I've spent the last couple of hours figuring out what was up and think it is worth raising it as an issue.
If I make a simple conda environment to work in with
import networkx as nx
import nxmetis
G = nx.complete_graph(10)
nxmetis(G, 2)
I get an error which reports
AttributeError: 'Graph' object has no attribute 'node'
which is line 230 in __init__.py and suggests that the conda recipe above is still installing a version that dates back to late 2019 and this commit. Perhaps the dependencies information in the channel is incorrect? Is that something that should be reported to conda, or do I report it here?
As I rely on conda to manage my python environments and get nervous any time I have to resort to pip installing into a conda environment, I wonder if this is an issue that can be fixed? Until that happens I can't easily use network-metis in my normal workflow with recent versions of other packages.
The text was updated successfully, but these errors were encountered:
Unfortunately there hasn't been a new release after that fix, so there is no binary available at conda-forge to install it. It has to be pip installed if you want the latest packages.
I tested the following 2 configurations and they worked for me.
environment.yml file with the last working networkx release.
This might not be a problem with networkx-metis per se, but I've spent the last couple of hours figuring out what was up and think it is worth raising it as an issue.
If I make a simple conda environment to work in with
then do
I get an error which reports
which is line 230 in
__init__.py
and suggests that the conda recipe above is still installing a version that dates back to late 2019 and this commit. Perhaps the dependencies information in the channel is incorrect? Is that something that should be reported to conda, or do I report it here?As I rely on conda to manage my python environments and get nervous any time I have to resort to pip installing into a conda environment, I wonder if this is an issue that can be fixed? Until that happens I can't easily use network-metis in my normal workflow with recent versions of other packages.
The text was updated successfully, but these errors were encountered: