Closed RemiG3 closed 3 years ago
Hello, I have the following error when I try to import hypernetx on Colab (with your tutorials) and also on my conda env:
ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-b7c66bb90caa> in <module>() 3 import matplotlib.pyplot as plt 4 import networkx as nx ----> 5 import hypernetx as hnx 6 4 frames /usr/local/lib/python3.7/dist-packages/hypernetx/__init__.py in <module>() 5 ) 6 from hypernetx.read_write import to_pickle, load_from_pickle ----> 7 from hypernetx.classes import * 8 from hypernetx.reports import * 9 from hypernetx.drawing import * /usr/local/lib/python3.7/dist-packages/hypernetx/classes/__init__.py in <module>() 1 from .entity import Entity, EntitySet ----> 2 from .hypergraph import Hypergraph 3 from .staticentity import StaticEntity, StaticEntitySet /usr/local/lib/python3.7/dist-packages/hypernetx/classes/hypergraph.py in <module>() 11 from collections import OrderedDict, defaultdict 12 from hypernetx.classes.entity import Entity, EntitySet ---> 13 from hypernetx.classes.staticentity import StaticEntity, StaticEntitySet 14 from hypernetx.exception import HyperNetXError 15 from hypernetx.utils.decorators import not_implemented_for /usr/local/lib/python3.7/dist-packages/hypernetx/classes/staticentity.py in <module>() 8 from hypernetx.exception import HyperNetXError 9 from hypernetx.classes.entity import Entity, EntitySet ---> 10 from hypernetx.utils import HNXCount, DefaultOrderedDict, remove_row_duplicates 11 from scipy.sparse import coo_matrix, csr_matrix, issparse 12 import itertools as it /usr/local/lib/python3.7/dist-packages/hypernetx/utils/__init__.py in <module>() 2 from .decorators import not_implemented_for 3 # from .toys import HarryPotter, LesMis, lesmis_hypergraph_from_df, book_tour, TransmissionProblem ----> 4 from .toys import * ModuleNotFoundError: No module named 'hypernetx.utils.toys'
I'm doing something wrong?
Thank you for creating the issue. It seems to only effect colab. We are trying to fix it now.
The tutorials are now working. We updated the toy data to pull csv files directly from Github. see commit cbf2520
Hello, I have the following error when I try to import hypernetx on Colab (with your tutorials) and also on my conda env:
I'm doing something wrong?