You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, when I use preprocess/data_conversion.py to convert the DICOM images to NIFTI, I encounter an error.
Firstly, I open the python script as a Pycharm Project, and I change the Python Interpreter (System Interpreter) to the D:/Slicer5.6.2/bin/PythonSlicer.exe, the path in 3D Slicer archive.
Secondly, I run the python script aforementioned.
Then, I encounter the error
`"D:\Slicer 5.6.2\bin\PythonSlicer.exe" D:\Dataset_preprocess\TCIA_VS_SEG\data_conversion.py -i D:/Dataset/VS_SEG/ -o D:/Dataset/VS_SEG1/
No module named 'logic'
Traceback (most recent call last):
File "D:\Dataset_preprocess\TCIA_VS_SEG\data_conversion.py", line 48, in
from DICOMLib import DICOMUtils
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib_init_.py", line 1, in
from .DICOMProcesses import *
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib\DICOMProcesses.py", line 38, in
class DICOMProcess:
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib\DICOMProcesses.py", line 84, in DICOMProcess
def start(self, cmd: str, args: list[str]) -> qt.QProcess:
AttributeError: module 'qt' has no attribute 'QProcess'
Process finished with exit code 1`
So, I doubt whether that I use the PythonSlicer.exe as Python Interpreter is correct.
The text was updated successfully, but these errors were encountered:
hello, when I use preprocess/data_conversion.py to convert the DICOM images to NIFTI, I encounter an error.
Firstly, I open the python script as a Pycharm Project, and I change the Python Interpreter (System Interpreter) to the D:/Slicer5.6.2/bin/PythonSlicer.exe, the path in 3D Slicer archive.
Secondly, I run the python script aforementioned.
Then, I encounter the error
`"D:\Slicer 5.6.2\bin\PythonSlicer.exe" D:\Dataset_preprocess\TCIA_VS_SEG\data_conversion.py -i D:/Dataset/VS_SEG/ -o D:/Dataset/VS_SEG1/
No module named 'logic'
Traceback (most recent call last):
File "D:\Dataset_preprocess\TCIA_VS_SEG\data_conversion.py", line 48, in
from DICOMLib import DICOMUtils
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib_init_.py", line 1, in
from .DICOMProcesses import *
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib\DICOMProcesses.py", line 38, in
class DICOMProcess:
File "D:\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\DICOMLib\DICOMProcesses.py", line 84, in DICOMProcess
def start(self, cmd: str, args: list[str]) -> qt.QProcess:
AttributeError: module 'qt' has no attribute 'QProcess'
Process finished with exit code 1`
So, I doubt whether that I use the PythonSlicer.exe as Python Interpreter is correct.
The text was updated successfully, but these errors were encountered: