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
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
from . import tests, models, capabilities, scores, plots
File "C:\Users\Admin\anaconda3\lib\site-packages\networkunit\models_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'
The text was updated successfully, but these errors were encountered:
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.
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
from . import tests, models, capabilities, scores, plots
File "C:\Users\Admin\anaconda3\lib\site-packages\networkunit\models_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'
The text was updated successfully, but these errors were encountered: