Dear users and experts,
I installed an OpenMC to my PC. I have a code running in my laptop (i have OpenMC there also), but can not run in in my PC. I am recieving the error below:
/home/umarov/.local/lib/python3.10/site-packages/openmc/source.py:539: FutureWarning: This class is deprecated in favor of ‘IndependentSource’
warnings.warn(“This class is deprecated in favor of ‘IndependentSource’”, FutureWarning)
Traceback (most recent call last):
File “/mnt/e/openmc/Labs/LR2.py”, line 132, in
openmc.run()
File “/home/umarov/.local/lib/python3.10/site-packages/openmc/executor.py”, line 314, in run
_run(args, output, cwd)
File “/home/umarov/.local/lib/python3.10/site-packages/openmc/executor.py”, line 97, in _run
p = subprocess.Popen(args, cwd=cwd, stdout=subprocess.PIPE,
File “/usr/lib/python3.10/subprocess.py”, line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.10/subprocess.py”, line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘openmc’
Please, hepl me to figure it out.
Thank you!