diff --git a/src/libcode/vx_python3_utils/global_python.h b/src/libcode/vx_python3_utils/global_python.h index ac796d5187..8674a7b655 100644 --- a/src/libcode/vx_python3_utils/global_python.h +++ b/src/libcode/vx_python3_utils/global_python.h @@ -75,6 +75,9 @@ if ( ! is_initialized ) { command << cs_erase << "sys.path.append(\"" << replace_path(wrappers_dir) + << "\");" + << "sys.path.append(\"" + << replace_path(python_dir) << "\")"; run_python_string(command.text()); diff --git a/src/libcode/vx_python3_utils/python3_util.h b/src/libcode/vx_python3_utils/python3_util.h index b1681463c0..9464142566 100644 --- a/src/libcode/vx_python3_utils/python3_util.h +++ b/src/libcode/vx_python3_utils/python3_util.h @@ -30,6 +30,8 @@ static const char user_python_path_env [] = "MET_PYTHON_EXE"; static const char wrappers_dir [] = "MET_BASE/wrappers"; +static const char python_dir [] = "MET_BASE/python"; + ////////////////////////////////////////////////////////////////////////