Skip to content

Cannot run on Windows 10 #20

Description

@GuanglinDu

Joerg, thanks for your package. I cannot run it on Windows 10 since the source code is Linux/Mac OS-specific. The error message follows

FileNotFoundError                         Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_5624/1425457894.py in <module>
      1 model.write_input()
----> 2 model.run_model(logfile="out.log")

d:\venv\lib\site-packages\ogs6py\ogs.py in run_model(self, **args)
    475         cmd += f"{self.prjfile} > {self.logfile}"
    476         startt = time.time()
--> 477         returncode = subprocess.run([cmd], shell=True, executable="/bin/bash")
    478         stopt = time.time()
    479         self.exec_time = stopt - startt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions