Skip to content

Commit 1f6c07a

Browse files
committed
update imports
Signed-off-by: Wenqi Li <[email protected]>
1 parent e9bbce6 commit 1f6c07a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model_zoo/TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@
113113
"# which are critical to image processing and display.\n",
114114
"\n",
115115
"# installations required for monai\n",
116-
"!{sys.executable} -m pip install --upgrade -q \"monai[nibabel,itk,tqdm,pandas,skimage]\"\n",
116+
"!python -c \"import monai\" || pip install -q \"monai[nibabel,itk,tqdm,pandas,skimage]\"\n",
117117
"\n",
118118
"# These are the libraries used to read DICOM Seg objects.\n",
119-
"!{sys.executable} -m pip install --upgrade -q pydicom pydicom-seg\n",
119+
"!{sys.executable} -m pip install -q pydicom pydicom-seg\n",
120120
"\n",
121121
"# Install tcia_utils to download the datasets.\n",
122122
"!{sys.executable} -m pip install --upgrade -q tcia_utils\n",

0 commit comments

Comments
 (0)