From fb4246af265024beaa804e77e7e138943bd63316 Mon Sep 17 00:00:00 2001 From: imotai Date: Fri, 20 Oct 2023 20:39:21 +0800 Subject: [PATCH] fix: add python path --- docker/start_all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/start_all.sh b/docker/start_all.sh index 26c2375..e8cb706 100755 --- a/docker/start_all.sh +++ b/docker/start_all.sh @@ -27,6 +27,8 @@ chown -R octogen:octogen ${ROOT_DIR}/kernel/logs chown -R octogen:octogen ${ROOT_DIR}/model_server/logs cat < /bin/start_service.sh +export PYTHONPATH=/home/octogen/.local/lib/python3.10/site-packages:$PYTHONPATH + if [ "$2" -eq 1 ] then if [ -z "$3" ]