help > How to set-up gl module?
Showing 1-2 of 2 posts
Display:
Results per page:
Mar 24, 2022  02:03 PM | witherscp
How to set-up gl module?
Hello,

I have found the Surf Ice tool to be very useful so far. I'm trying to use the scripting tools from the command-line, instead of through the GUI; however, I get an error that there is no module named "gl". Typically, I install packages into my conda environment using pip install or conda install, but I don't see that install method for this package. How do I use the package outside of the GUI?

Thanks!
Mar 24, 2022  03:03 PM | Chris Rorden
RE: How to set-up gl module?
Surfice achieves high performance by being a native executable, rather than being built using an interpreted language. The Python interpreter is called from the executable. This is similar to other tools like Blender. You can launch Surfice from Python, Matlab or other scripting languages and have it execute a Python script:
  https://www.nitrc.org/plugins/mwiki/inde...
You may want to also look at the visualization abilities of nilearn:
  https://nilearn.github.io/plotting/index.html