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

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

commit 19a6bff62529d178e1c4594df2118e98be2af9b3
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Mar 24 18:37:10 2022 +0200

    [DATALAB-2668]: fixed py3 path in deeplearning kernel config
---
 .../src/deeplearning/scripts/configure_deep_learning_node.py            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
 
b/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
index 87f098f..ceed46b 100644
--- 
a/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
+++ 
b/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
@@ -66,7 +66,7 @@ cudnn_file_name = os.environ['notebook_cudnn_file_name']
 if os.environ['conf_cloud_provider'] == 'azure':
     os.environ['notebook_python_venv_version'] = '3.7.12'
 python_venv_version = os.environ['notebook_python_venv_version']
-python_venv_path = '/opt/python/python{}/'.format(python_venv_version)
+python_venv_path = 
'/opt/python/python{0}/bin/python{1}'.format(python_venv_version, 
python_venv_version[:3])
 
 if args.region == 'cn-north-1':
     spark_link = "http://mirrors.hust.edu.cn/apache/spark/spark-"; + 
spark_version + "/spark-" + spark_version + \

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

Reply via email to