Closed Jojo-00 closed 3 years ago
Sorry for the late reply, this issue slipped our attention. Thank you for reporting this bug.
Indeed, the backend
folder was missing from the setup.py
script, such that the pip-installed version led to the import error. Should be fixed by #21 and we will create a hotfix release 0.1.2 shortly.
As a fast workaround, cloning the library without installing via pip should work.
The release 0.1.2, available from pypi using pip install --upgrade networkunit
should fix this issue.
Thank you for the quick bug-fix. The installation with pip has now worked.
I installed networkunit with pip and tried to import the modules in my python-script. When I try to start the program the following error message occurs:
Traceback (most recent call last): File ".\nu_test.py", line 3, in
from networkunit import tests, scores, models
File "C:\Users\Admin\anaconda3\lib\site-packages\networkunit__init.py", line 9, in init__.py", line 17, in
exec("from {} import {}".format(modname, module_name))
File "", line 1, in
File "C:\Users\Admin\anaconda3\lib\site-packages\networkunit\models\model_loaded_data.py", line 2, in
from .backends import available_backends
ModuleNotFoundError: No module named 'networkunit.models.backends'
from . import tests, models, capabilities, scores, plots File "C:\Users\Admin\anaconda3\lib\site-packages\networkunit\models\