|
116 | 116 | "!python -c \"import cv2\" || pip install -q opencv-python-headless\n",
|
117 | 117 | "\n",
|
118 | 118 | "# These are the libraries used to read DICOM Seg objects.\n",
|
119 |
| - "!python -m pip install -q pydicom pydicom-seg\n", |
120 |
| - "\n", |
121 |
| - "# Install tcia_utils to download the datasets.\n", |
122 |
| - "!python -m pip install --upgrade -q --no-deps tcia_utils\n", |
| 119 | + "!python -m pip install -q \"pydicom<3\" pydicom-seg\n", |
123 | 120 | "\n",
|
124 | 121 | "# Install the dependency manually to avoid installing opencv-python.\n",
|
125 |
| - "!python -m pip install -q plotly bs4 ipywidgets unidecode jsonschema\n", |
| 122 | + "!python -m pip install -q plotly bs4 unidecode\n", |
126 | 123 | "!python -m pip install -q --no-deps rt-utils\n",
|
127 | 124 | "\n",
|
| 125 | + "# Install tcia_utils to download the datasets.\n", |
| 126 | + "!python -m pip install --upgrade -q --no-deps tcia_utils\n", |
| 127 | + "\n", |
128 | 128 | "# This is the installation required for itkWidgets.\n",
|
129 |
| - "!python -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a23\" imjoy_elfinder" |
| 129 | + "!python -m pip install --upgrade --pre -q \"itkwidgets[all]\" imjoy_elfinder\n", |
| 130 | + "\n", |
| 131 | + "# TEMPORARY WORKAROUND TO RESOLVE: https://github.com/kirbyju/TCIA_Notebooks/issues/30\n", |
| 132 | + "!python -m pip uninstall -y -q zarr ngff_zarr\n", |
| 133 | + "!python -m pip install -q zarr ngff_zarr" |
130 | 134 | ]
|
131 | 135 | },
|
132 | 136 | {
|
|
0 commit comments