This is an automated email from the ASF dual-hosted git repository.

mhladun pushed a commit to branch DATALAB-2620
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit eb48c5501572c954a761d66d0365ac187ae18184
Author: Marian_Hladun <[email protected]>
AuthorDate: Tue Nov 30 12:48:33 2021 +0200

    DLAB-2620
---
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 3f6ad1e..75011c7 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -532,7 +532,7 @@ def install_caffe2(os_user, caffe2_version, cmake_version):
             'pip3 install flask graphviz hypothesis jupyter matplotlib=={} 
pydot python-nvd3 pyyaml requests scikit-image '
             'scipy tornado 
--no-cache-dir'.format(os.environ['notebook_matplotlib_version']))
         if os.environ['application'] == 'deeplearning':
-            datalab.fab.conn.sudo('apt install -y cmake')
+            manage_pkg('-y install', 'remote', 'cmake')
             datalab.fab.conn.sudo('pip3 install torch==1.5.1+cu101 
torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
         else:
             # datalab.fab.conn.sudo('mkdir 
/opt/cuda-{}'.format(os.environ['notebook_cuda_version']))

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to