error during ci tests run

22 views
Skip to first unread message

Minhajur Rahman

unread,
Dec 20, 2023, 7:15:31 PM12/20/23
to PyNE
======================================================== ERRORS ========================================================
____________________________________ ERROR collecting tests/test_source_sampling.py ____________________________________
ImportError while importing test module '/home/saib/opt/pyne/pyne-repo/tests/test_source_sampling.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_source_sampling.py:27: in <module>
    from pymoab import core as mb_core, types
pymoab/core.pyx:19: in init pymoab.core
    ???
E   ImportError: cannot import name Iterable

I am using python 3.10.12. This is the only error occured. 
Reason?

Ahnaf Tahmid

unread,
Dec 22, 2023, 9:40:07 AM12/22/23
to PyNE

Hello there,

It seems you are using an older version of MOAB, which does not support Python 3.10 and above. Please update the MOAB version to the latest. However, if you are using PyNE 0.7.7, I highly recommend using Python 3.8 along with MOAB 5.3.0. We are currently working on a new release of PyNE.

Thanks.


Tahmid
Reply all
Reply to author
Forward
0 new messages