pyglow
pyglow copied to clipboard
test failer
Hi,
After successful installation in virtual environment, I faced the problem shown below for all modules while runing
"pytest test/"
Would you suggest me possible solution, Thanks!
--------------------------------ERROR collecting test/test_hwm.py------------------------------------------------------
ImportError while importing test module '/home/wamlak/anaconda3/envs/pyglow/pyglow/test/test_hwm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/test_hwm.py:5: in
I have that same problem. Have you already fix it? Please
Not yet.
Do any errors occur when installing IRI? Or does the problem first occur when pyglow is imported? Copying here the output of the installation might help with debugging.
I have a similar issue; I get the following error on import pyglow:
In [1]: import pyglow
ImportError Traceback (most recent call last) Input In [1], in <cell line: 1>() ----> 1 import pyglow
File /usr/lib/python3.10/site-packages/pyglow/init.py:2, in
File /usr/lib/python3.10/site-packages/pyglow/pyglow.py:17, in
File /usr/lib/python3.10/site-packages/pyglow/iri.py:4, in
ImportError: cannot import name 'iri_sub' from 'iri12py' (/usr/lib/python3.10/site-packages/iri12py.cpython-310-x86_64-linux-gnu.so)
In [2]:
@dolson14 have you fixed it and how?
the same problem