Closed daniellivingston closed 4 years ago
LaGriT => OSError: LaGriT binary doesn't exist at path: ~/dev/LaGriT/src/lagrit PyLaGriT => >>> l = PyLaGriT() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/user/dev/LaGriT/PyLaGriT/pylagrit/pylagrit.py", line 56, in __init__ raise FileNotFoundError( FileNotFoundError: Error: LaGriT executable is not defined.
The LaGriT exe path, either in the .pylagritrc file or as an argument in PyLaGriT(lagrit_exe=...), needs to be expanded:
.pylagritrc
PyLaGriT(lagrit_exe=...)
~/dev/LaGriT/src/lagrit -> /home/user/dev/LaGriT/src/lagrit
~/dev/LaGriT/src/lagrit
/home/user/dev/LaGriT/src/lagrit
Problem
Solution
The LaGriT exe path, either in the
.pylagritrc
file or as an argument inPyLaGriT(lagrit_exe=...)
, needs to be expanded:~/dev/LaGriT/src/lagrit
->/home/user/dev/LaGriT/src/lagrit