lassoan / SlicerMONAIAuto3DSeg

Extension for 3D Slicer for running MONAI Auto3DSeg models
MIT License
67 stars 10 forks source link

Failed to install required dependencies #75

Closed ligs01 closed 4 months ago

ligs01 commented 4 months ago

Command '['D:/Slicer 5.7.0-2024-07-22/bin/../bin\PythonSlicer.EXE', '-m', 'pip', 'install', 'monai[fire,pyyaml,nibabel,pynrrd,psutil,tensorboard,skimage,itk,tqdm]>=1.3']' returned non-zero exit status 2.

details: Traceback (most recent call last): File "D:\Slicer 5.7.0-2024-07-22\bin\Python\slicer\util.py", line 3295, in tryWithErrorDisplay yield File "D:/Slicer 5.7.0-2024-07-22/slicer.org/Extensions-32953/MONAIAuto3DSeg/lib/Slicer-5.7/qt-scripted-modules/MONAIAuto3DSeg.py", line 505, in onApply self.logic.setupPythonRequirements() File "D:/Slicer 5.7.0-2024-07-22/slicer.org/Extensions-32953/MONAIAuto3DSeg/lib/Slicer-5.7/qt-scripted-modules/MONAIAuto3DSeg.py", line 1076, in setupPythonRequirements slicer.util.pip_install(monaiInstallString) File "D:\Slicer 5.7.0-2024-07-22\bin\Python\slicer\util.py", line 3927, in pip_install _executePythonModule("pip", args) File "D:\Slicer 5.7.0-2024-07-22\bin\Python\slicer\util.py", line 3888, in _executePythonModule logProcessOutput(proc) File "D:\Slicer 5.7.0-2024-07-22\bin\Python\slicer\util.py", line 3854, in logProcessOutput raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr) subprocess.CalledProcessError: Command '['D:/Slicer 5.7.0-2024-07-22/bin/../bin\PythonSlicer.EXE', '-m', 'pip', 'install', 'monai[fire,pyyaml,nibabel,pynrrd,psutil,tensorboard,skimage,itk,tqdm]>=1.3']' returned non-zero exit status 2.

diazandr3s commented 4 months ago

Hi @ligs01,

Could you please try with a clean Slicer Preview again and see if the problem persist?

ligs01 commented 4 months ago

Hi @ligs01,

Could you please try with a clean Slicer Preview again and see if the problem persist?

Thanks for your advice, the software is working normally .

lassoan commented 4 months ago

Thank you for the update, I'm closing this issue then.