Issue
When trying to run this example on the documentation I get the following error:
ModuleNotFoundError: No module named 'system_equations'
This might be an issue of pathing, as the file "system_equations.f90 is correctly produced in the same folder as my script. I should note that I'm running auto and PyCoBi using WSL, which I have minimal experience with, and that might be the real issue. I can use auto without PyCOBi just fine.
What I tried
In the example, I changed the auto_dir line to:
auto_dir = "~/auto/07p/"
,
as that is where I have installed auto. Not sure if it matters, but the script running the PyCoBi example is located in a directory ~/test_files/. I also tried adding ~/auto/07p/ to PATH. Further, I tried playing with the 'fortran_backend.py' file in which the error occurs, such as adding folders to path using the sys library's path.append
- I of course made to remove any of those edits afterwards.
The full script
from pycobi import ODESystem
# path to YAML model definition
model = "model_templates.neural_mass_models.qif.qif"
# installation directory of auto-07p
auto_dir = "~/auto/07p/"
# ODESystem initialization
ode, _ = ODESystem.from_yaml(model, auto_dir=auto_dir)
Thanks in advance. This is the first posting an issue on GitHub, so I hope I'm doing it right. If not, let me know and I'll make any necessary edits.
Have a nice day.