This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch 2.5.1-tcpc-deployment in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 9aa9aea6e392eb26bb10bc78e4e7e1ae3d564f58 Author: leonidfrolov <[email protected]> AuthorDate: Thu Feb 17 11:32:46 2022 +0200 [DATALAB-2708]: added additional packages installation installation, specified tensorflow and tflite versions --- infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 3 ++- .../src/tensor/scripts/configure_tensor_node.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 9119667..3a4ae00 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py @@ -271,7 +271,8 @@ def ensure_python3_libraries(os_user): #manage_pkg('-y install', 'remote', 'python3-setuptools') manage_pkg('-y install', 'remote', 'python3-pip') manage_pkg('-y install', 'remote', 'libkrb5-dev') - manage_pkg('-y install', 'remote', 'libbz2-dev') + manage_pkg('-y install', 'remote', 'libbz2-dev libsqlite3-dev tk-dev libncursesw5-dev libreadline-dev ' + 'liblzma-dev uuid-dev lzma-dev libgdbm-dev') #necessary for python build datalab.fab.conn.sudo('pip3 install -U keyrings.alt backoff') if os.environ['conf_cloud_provider'] == 'aws' and os.environ['conf_deeplearning_cloud_ami'] == 'true': datalab.fab.conn.sudo('pip3 install --upgrade --user pyqt5==5.12') diff --git a/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py b/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py index ab88404..973ff59 100644 --- a/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py +++ b/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py @@ -69,7 +69,7 @@ cuda_version = os.environ['notebook_cuda_version'] cuda_file_name = os.environ['notebook_cuda_file_name'] cudnn_version = os.environ['notebook_cudnn_version'] cudnn_file_name = os.environ['notebook_cudnn_file_name'] -venv_libs = 'numpy scipy matplotlib pandas scikit-learn opencv-python' +venv_libs = 'numpy scipy matplotlib pandas scikit-learn opencv-python tensorflow==2.5.0 tflite==2.5.0' ############## # Run script # --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
