Hello everyone
I used Slicer 5.1.0 (Preview Release) on Win 10 (64 bit).
Now, I want to open the extension Module from github. I succefully add the path of Module in Edit tab. However, when I execute the module, Slicer told me that :
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'D:EEG_ToolBoxSemiology-Visualisation-Tool-masterrequirements.txt'
Traceback (most recent call last):
File "D:/EEG_ToolBox/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 1423, in installRepository
import mega_analysis
File "D:\EEG_ToolBox\Semiology-Visualisation-Tool-master\mega_analysis\__init__.py", line 2, in <module>
from .crosstab.gif_lobes_from_excel_sheets import gif_lobes_from_excel_sheets
File "D:\EEG_ToolBox\Semiology-Visualisation-Tool-master\mega_analysis\crosstab\gif_lobes_from_excel_sheets.py", line 1, in <module>
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/EEG_ToolBox/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 99, in setup
self.logic.installRepository()
File "D:/EEG_ToolBox/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 1429, in installRepository
slicer.util.pip_install(
File "E:\Program Files\slicer-PreRelease\Slicer 5.1.0-2022-07-22\bin\Python\slicer\util.py", line 3535, in pip_install
_executePythonModule('pip', args)
File "E:\Program Files\slicer-PreRelease\Slicer 5.1.0-2022-07-22\bin\Python\slicer\util.py", line 3498, in _executePythonModule
logProcessOutput(proc)
File "E:\Program Files\slicer-PreRelease\Slicer 5.1.0-2022-07-22\bin\Python\slicer\util.py", line 3467, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command '['E:/Program Files/slicer-PreRelease/Slicer 5.1.0-2022-07-22/bin/../bin\\PythonSlicer.EXE', '-m', 'pip', 'install', '-r', 'D:EEG_ToolBoxSemiology-Visualisation-Tool-masterrequirements.txt']' returned non-zero exit status 1.
I know, the module need load ‘D:\EEG_ToolBox\Semiology-Visualisation-Tool-master\requirements.txt’, and this file existed in this path indeed.
I don’t know why Slicer can’t recognize the path separator ('')?
Could any one help me?