We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10d1678 commit 1f24f9aCopy full SHA for 1f24f9a
1 file changed
features/src/workbench-tools/install.sh
@@ -145,8 +145,11 @@ else
145
fi
146
147
# Install dsub via pip if on GCP. The conda version is outdated.
148
+# dsub is installed in LIB_ENV because it can be used as a Python library, and
149
+# users may want to install additional packages alongside it.
150
+# PYTHONNOUSERSITE=1 prevents pip from seeing/modifying packages in user site-packages.
151
if [[ "${CLOUD}" == "gcp" ]]; then
- "${WORKBENCH_TOOLS_DIR}/2/bin/pip" install dsub
152
+ PYTHONNOUSERSITE=1 "${LIB_ENV}/bin/pip" install dsub
153
154
155
# Force the perl and python scripts to use the correct perl/python
0 commit comments