Executing GATE scripts using Python #721
Unanswered
ZacharyEBirch
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
If you want to use python to run Gate, then why not use gate 10 instead. It is already using python for everything. Watch https://github.com/OpenGATE/opengate |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Excuse my possible ignorance, but I am trying to automate running Gate instruction files using a Python script. For some reason I am unable to, whether I am using os to run Gate in the Python terminal or subprocess to run it in xterm.
I have no issues running the program manually in the shell. I am using WSL for both Gate and the Python shell path.
If I run it using the alias, I get this error: sh: 1: Gate: not found
If I run it with the full path, I get this error: error while loading shared libraries: libG4Tree.so: cannot open shared object file: No such file or directory
Beta Was this translation helpful? Give feedback.
All reactions