Open hamaln opened 1 year ago
Same issue!
Same issue here too
Same issue with Slicer 5.5.0, I've been able to go around the problem after two steps :
requirementsPath = 'D:/0_softwares/Semiology-Visualisation-Tool-master/requirements.txt
Only doing this was throwing another error saying that pandas module was not found. So I carried on with the following :slicer.util.pip_uninstall("matplotlib matplotlib_venn pandas PyYAML seaborn scikit-learn xlrd tqdm colorama openpyxl numpy==1.19.5")
slicer.util.pip_install("matplotlib matplotlib_venn pandas PyYAML seaborn scikit-learn xlrd tqdm colorama openpyxl numpy==1.19.5")
Works well after that ! :)
can't load the projects into the program and this is the message I got:
Python 3.9.10 (main, Jan 19 2023, 00:06:32) [MSC v.1930 64 bit (AMD64)] on win32
[notice] A new release of pip available: 22.3 -> 22.3.1 [notice] To update, run: python-real.exe -m pip install --upgrade pip Traceback (most recent call last): File "C:/Users/tiger/Desktop/Semiology-Visualisation-Tool-master/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 1423, in installRepository import mega_analysis File "C:\Users\tiger\Desktop\Semiology-Visualisation-Tool-master\Semiology-Visualisation-Tool-master\mega_analysis__init__.py", line 2, in
from .crosstab.gif_lobes_from_excel_sheets import gif_lobes_from_excel_sheets
File "C:\Users\tiger\Desktop\Semiology-Visualisation-Tool-master\Semiology-Visualisation-Tool-master\mega_analysis\crosstab\gif_lobes_from_excel_sheets.py", line 1, in
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:/Users/tiger/Desktop/Semiology-Visualisation-Tool-master/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 99, in setup self.logic.installRepository() File "C:/Users/tiger/Desktop/Semiology-Visualisation-Tool-master/Semiology-Visualisation-Tool-master/slicer/SemiologyVisualisation.py", line 1429, in installRepository slicer.util.pip_install( File "C:\Users\tiger\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-16\bin\Python\slicer\util.py", line 3586, in pip_install _executePythonModule('pip', args) File "C:\Users\tiger\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-16\bin\Python\slicer\util.py", line 3548, in _executePythonModule logProcessOutput(proc) File "C:\Users\tiger\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-16\bin\Python\slicer\util.py", line 3517, in logProcessOutput raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr) subprocess.CalledProcessError: Command '['C:/Users/tiger/AppData/Local/NA-MIC/Slicer 5.3.0-2023-01-16/bin/../bin\PythonSlicer.EXE', '-m', 'pip', 'install', '-r', 'C:UserstigerDesktopSemiology-Visualisation-Tool-masterSemiology-Visualisation-Tool-masterrequirements.txt']' returned non-zero exit status 1.