Closed 9202014710 closed 1 month ago
I think the problem is due to running your script from the anuga_core directory.
Move your script to another directory and see if it works.
When running from anuga_core python will use the code in anuga_core/anuga which actually hasn't been installed. The conda installed version of anuga has been installed in the appropriate anuga_env site_packages directory.
It works, thanks for your help.
(/mnt/md0/shoudaoz/conda_env/anuga) shoudaoz@nwp-r1:~/Documents$ python test.py
WARNING: Could not import mpi4py - defining sequential interface
I installed anuga by
conda create -n anuga_env python=3.9 anuga mpi4py
, successfully installed but fail in using. Here is the error message:How can I solve the problem?