Skip to content

Commit bd0d636

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

model_zoo/TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"import os\n",
9696
"\n",
9797
"# Upgrade pip, just in case.\n",
98-
"!{sys.executable} -m pip install --upgrade -q pip"
98+
"!python -m pip install --upgrade -q pip"
9999
]
100100
},
101101
{
@@ -116,13 +116,13 @@
116116
"!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 -q pydicom pydicom-seg\n",
119+
"!python -m pip install -q pydicom pydicom-seg\n",
120120
"\n",
121121
"# Install tcia_utils to download the datasets.\n",
122-
"!{sys.executable} -m pip install --upgrade -q tcia_utils\n",
122+
"!python -m pip install --upgrade -q tcia_utils\n",
123123
"\n",
124124
"# This is the installation required for itkWidgets.\n",
125-
"!{sys.executable} -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a20\" imjoy_elfinder"
125+
"!python -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a20\" imjoy_elfinder"
126126
]
127127
},
128128
{

0 commit comments

Comments
 (0)