From 3733cd0986b0aa4fb835856d264ac1b0037b0afc Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 17 Nov 2021 10:31:22 -0600
Subject: [PATCH] Set a default python_path

---
 modules/util/setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/util/setup.py b/modules/util/setup.py
index 32a67b22..e47599de 100644
--- a/modules/util/setup.py
+++ b/modules/util/setup.py
@@ -37,7 +37,8 @@ try:
     else:
         python_path = user_paths[0] + os.sep
     if python_path is None:
-        print('** No PYTHONPATH found containing cimss_icing/model *', file=sys.stderr)
+        python_path = home_dir + os.sep + 'dev' + os.sep + 'python' + os.sep + 'modules' + os.sep
+        print('** No PYTHONPATH found containing cimss_icing/model, using: '+python_path, file=sys.stderr)
     ancillary_path = python_path + 'ancillary' + os.sep
     model_path_day = python_path + 'tf_model_day' + os.sep
     model_path_night = python_path + 'tf_model_night' + os.sep
-- 
GitLab