I’m trying to use Gate inside Slicer within my module OpenDose3D.
However, it’s being a bit difficult to install gate as a pip package.
slicer.util.pip_install("opengate")
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Users\alex.vergara.F-P-PHYS-02\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py", line 3571, in pip_install
_executePythonModule('pip', args)
File "C:\Users\alex.vergara.F-P-PHYS-02\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py", line 3533, in _executePythonModule
logProcessOutput(proc)
File "C:\Users\alex.vergara.F-P-PHYS-02\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py", line 3502, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command '['C:/Users/alex.vergara.F-P-PHYS-02/AppData/Local/NA-MIC/Slicer 5.2.1/bin/../bin\\PythonSlicer.EXE', '-m', 'pip', 'install', 'opengate']' returned non-zero exit status 1.`
May someone guide me as why it does not install? I could maybe try to guide the Gate developers to build some wheel, but I don’t know if that will be enough.
EDIT: I have reported this issue in gate page