Hello everyone,
I have been trying to run an multi-group input similar to the example multi-group pincell example. However when I try to import openmc.mgxs I receive the following error:
Traceback (most recent call last):
File ~/anaconda3/envs/openmc-env/lib/python3.11/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
exec(code, globals, locals)
File ~/OpenMC/Input/2gPin/openmc.py:2
import openmc
File ~/OpenMC/Input/2gPin/openmc.py:3
import openmc.mgxs as mgxs
ModuleNotFoundError: No module named 'openmc.mgxs'; 'openmc' is not a package
I have tried this to import openmc.mgxs in versions 0.15.0, 0.14.0, and 0.13.3, but the I get the same error message. Does anyone know how to fix this issue?
Thank you,
Vidor