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
When I run owa-epanet wheel binary install from pypi I get the following library import error
(py38) michaeltryby@iMac-Pro owa-epanet % pytest
======================================== test session starts =========================================
platform darwin -- Python 3.8.10, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/michaeltryby/Workspace/OWA/epanet-python/owa-epanet
collected 0 items / 1 error
=============================================== ERRORS ===============================================
______________________________ ERROR collecting test/test_owa_epanet.py ______________________________
ImportError while importing test module '/Users/michaeltryby/Workspace/OWA/epanet-python/owa-epanet/test/test_owa_epanet.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/anaconda3/envs/py38/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/test_owa_epanet.py:5: in <module>
import epanet.toolkit as en
/usr/local/anaconda3/envs/py38/lib/python3.8/site-packages/epanet/toolkit.py:13: in <module>
from . import _toolkit
E ImportError: dlopen(/usr/local/anaconda3/envs/py38/lib/python3.8/site-packages/epanet/_toolkit.so, 2): Library not loaded: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/Python
E Referenced from: /usr/local/anaconda3/envs/py38/lib/python3.8/site-packages/epanet/_toolkit.so
E Reason: image not found
====================================== short test summary info =======================================
ERROR test/test_owa_epanet.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================== 1 error in 0.16s ==========================================
The text was updated successfully, but these errors were encountered:
michaeltryby
changed the title
Library import error when running owa-epanet wheel installed from pypi
Library import error when running owa-epanet MacOS wheel installed from pypi
Jul 6, 2021
Running Python 3.8 in a Conda env on Mac OS 11.4.
When I run owa-epanet wheel binary install from pypi I get the following library import error
The text was updated successfully, but these errors were encountered: