Skip to content

Commit aa55fe3

Browse files
authored
Environment variable to remove the warning when installing with pip in a notebook (#1265)
http://b/288905562
1 parent df84b2e commit aa55fe3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ ENV KMP_WARNINGS=0
5353
# https://stackoverflow.com/questions/70250304/stop-tensorflow-from-printing-warning-message
5454
ENV KMP_SETTINGS=false
5555

56+
# Remove the pip as the root user warning.
57+
ENV PIP_ROOT_USER_ACTION=ignore
58+
5659
ADD clean-layer.sh /tmp/clean-layer.sh
5760
ADD patches/nbconvert-extensions.tpl /opt/kaggle/nbconvert-extensions.tpl
5861
ADD patches/template_conf.json /opt/kaggle/conf.json

0 commit comments

Comments
 (0)