File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -169,14 +169,16 @@ python -m pip install -e "$OPENVISUSPY_DIR" >/dev/null
169169step " 7/7" " Install Jupyter kernel + extras"
170170
171171# keep these visible enough to diagnose, but not too noisy
172- conda install -c conda-forge -y jupyterlab-git=0.52.0 > /dev/null
173-
174- python -m pip install " ipykernel==6.29.2" > /dev/null
175- python -m pip install jupyter-server-mathjax > /dev/null
172+ ENV_BIN_DIR=" $CONDA_PREFIX /bin"
176173
177174python -m ipykernel install --user \
178175 --name " $KERNEL_NAME " \
179- --display-name " $KERNEL_DISPLAY " > /dev/null
176+ --display-name " $KERNEL_DISPLAY " \
177+ --env PATH " $ENV_BIN_DIR :$OPENVISUSPY_SRC :$PATH " \
178+ --env LD_LIBRARY_PATH " $CONDA_PREFIX /lib:$CONDA_PREFIX /lib/gdalplugins" \
179+ --env PROJ_LIB " $CONDA_PREFIX /share/proj" \
180+ --env GDAL_DATA " $CONDA_PREFIX /share/gdal" \
181+ --env PROJ_NETWORK " ON"
180182
181183print_separated_message \
182184 " DONE" \
Original file line number Diff line number Diff line change @@ -147,9 +147,8 @@ module load miniforge
147147 </li >
148148
149149 <li >
150- Activate the environment and start Jupyter Lab:
151- <pre><code>conda activate NSDF-Tutorial
152- cd ..
150+ Start Jupyter Lab:
151+ <pre><code>cd ..
153152jupyter-ip.sh</code ></pre >
154153 </li >
155154
@@ -164,9 +163,9 @@ jupyter-ip.sh</code></pre>
164163<h4 >Starting the Environment (After Installation)</h4 >
165164<ol >
166165 <li >
167- Load Conda and activate the environment :
166+ Load Conda:
168167 <pre><code>module load miniforge
169- conda activate NSDF-Tutorial </code ></pre >
168+ </code ></pre >
170169 </li >
171170
172171 <li >
You can’t perform that action at this time.
0 commit comments