diff --git a/Generators/PowhegControl/python/processes/powheg/ggF_HH.py b/Generators/PowhegControl/python/processes/powheg/ggF_HH.py
index a18721147478c22ec6cdafb3d32d356517274bd7..01c8b5e496788d166397a57ba27863129174de4f 100644
--- a/Generators/PowhegControl/python/processes/powheg/ggF_HH.py
+++ b/Generators/PowhegControl/python/processes/powheg/ggF_HH.py
@@ -1,6 +1,5 @@
 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 import os
-import glob
 from AthenaCommon import Logging
 from ..powheg_V2 import PowhegV2
 
@@ -174,24 +173,6 @@ class ggF_HH(PowhegV2):
             logger.error('Impossible to link the needed files locally')
             raise
 
-        # need to override lhapdf python path while the powheg process has been compiled in a different platform
-        py_path_save = os.environ["PYTHONPATH"]
-        base_path = os.environ["LHAPDF_INSTAL_PATH"]
-
-        # Search for the Python version in the lib folder
-        python_lib_path = glob.glob(os.path.join(base_path, "lib", "python*"))
-
-        # Ensure at least one matching path is found
-        if python_lib_path:
-            python_lib_path = python_lib_path[0]
-        else:
-            raise ValueError("No Python version found in lib folder")
-
-        # Build the temporary path
-        py_path_temp = python_lib_path + "/site-packages" + ":" + py_path_save
-        os.environ["PYTHONPATH"] = py_path_temp
-        logger.debug(f'Temporarily setting PYTHONPATH to:\n{py_path_temp}')
-
         # handling the parameters of this process
         # these parameters need to be parsed in a specific format
         chhh_str = f'{list(self.parameters_by_keyword("chhh"))[0].value:+.4E}'
@@ -212,7 +193,4 @@ class ggF_HH(PowhegV2):
         except RuntimeError:
             logger.error('Impossible to use creategrid.py to create the Virt_full_*.grid file')
             raise
-
-        # cannot set PYTHONPATH back to its original value, because creategrid.py seems to be later re-used, and it requires lhapdf
-
         logger.info('Although the produced Virt_full_*.grid file now exists in the local directory, Powheg will later try to find it in all directories contained in $PYTHONPATH. This will produce several "not found" info messages which can safely be ignored.')
diff --git a/Generators/PowhegControl/python/processes/powheg/ggF_HH_SMEFT.py b/Generators/PowhegControl/python/processes/powheg/ggF_HH_SMEFT.py
index 3fdb723bc17df9b328a716f6831d76e9432e8278..acc78cb0a0411e7395830d9ca7c10246cf18d1d0 100644
--- a/Generators/PowhegControl/python/processes/powheg/ggF_HH_SMEFT.py
+++ b/Generators/PowhegControl/python/processes/powheg/ggF_HH_SMEFT.py
@@ -1,6 +1,5 @@
 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
 import os
-import glob
 from AthenaCommon import Logging
 from ..powheg_V2 import PowhegV2
 
@@ -190,25 +189,6 @@ class ggF_HH_SMEFT(PowhegV2):
             logger.error('Impossible to link the needed files locally')
             raise
 
-         # need to override lhapdf python path while the powheg process has been compiled in a different platform
-        py_path_save = os.environ["PYTHONPATH"]
-        base_path = os.environ["LHAPDF_INSTAL_PATH"]
-
-        # Search for the Python version in the lib folder
-        python_lib_path = glob.glob(os.path.join(base_path, "lib", "python*"))
-
-        # Ensure at least one matching path is found
-        if python_lib_path:
-            python_lib_path = python_lib_path[0]
-        else:
-            raise ValueError("No Python version found in lib folder")
-
-        # Build the temporary path
-        py_path_temp = python_lib_path + "/site-packages" + ":" + py_path_save
-
-        os.environ["PYTHONPATH"] = py_path_temp
-        logger.debug(f'Temporarily setting PYTHONPATH to:\n{py_path_temp}')
-
         # handling the parameters of this process
         # these parameters need to be parsed in a specific format
         usesmeft_str = str(list(self.parameters_by_keyword("usesmeft"))[0].value)
@@ -262,9 +242,5 @@ class ggF_HH_SMEFT(PowhegV2):
                 logger.error('Impossible to use creategrid.py to create the Virt_full_*.grid file')
                 raise
 
-        # setting PYTHONPATH back to its original value
-        os.environ["PYTHONPATH"] = py_path_save
-        logger.debug(f'Setting PYTHONPATH back to:\n{py_path_save}')
-
         logger.info('Although the produced Virt_full_*.grid file now exists in the local directory, Powheg will later try to find it in all directories contained in $PYTHONPATH. This will produce several "not found" info messages which can safely be ignored.')
 
diff --git a/Generators/PowhegControl/python/processes/powheg/ggF_HH_quartic.py b/Generators/PowhegControl/python/processes/powheg/ggF_HH_quartic.py
index a341525e40815e29e897e4665fcf2d695a347d6e..af9bc79e94c5f47e1f207fbc658856230a704a54 100644
--- a/Generators/PowhegControl/python/processes/powheg/ggF_HH_quartic.py
+++ b/Generators/PowhegControl/python/processes/powheg/ggF_HH_quartic.py
@@ -1,6 +1,5 @@
 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 import os
-import glob
 from AthenaCommon import Logging
 from ..powheg_V2 import PowhegV2
 
@@ -187,24 +186,6 @@ class ggF_HH_quartic(PowhegV2):
             logger.error('Impossible to link the needed files locally')
             raise
 
-        # need to override lhapdf python path while the powheg process has been compiled in a different platform
-        py_path_save = os.environ["PYTHONPATH"]
-        base_path = os.environ["LHAPDF_INSTAL_PATH"]
-
-        # Search for the Python version in the lib folder
-        python_lib_path = glob.glob(os.path.join(base_path, "lib", "python*"))
-
-        # Ensure at least one matching path is found
-        if python_lib_path:
-            python_lib_path = python_lib_path[0]
-        else:
-            raise ValueError("No Python version found in lib folder")
-
-        # Build the temporary path
-        py_path_temp = python_lib_path + "/site-packages" + ":" + py_path_save
-        os.environ["PYTHONPATH"] = py_path_temp
-        logger.debug(f'Temporarily setting PYTHONPATH to:\n{py_path_temp}')
-
         # handling the parameters of this process
         # these parameters need to be parsed in a specific format
         chhh_str = f'{list(self.parameters_by_keyword("chhh"))[0].value:+.4E}'
@@ -226,9 +207,4 @@ class ggF_HH_quartic(PowhegV2):
         except RuntimeError:
             logger.error('Impossible to use creategrid.py to create the Virt_full_*.grid file')
             raise
-
-        # setting PYTHONPATH back to its original value
-        os.environ["PYTHONPATH"] = py_path_save
-        logger.debug(f'Setting PYTHONPATH back to:\n{py_path_save}')
-
         logger.info('Although the produced Virt_full_*.grid file now exists in the local directory, Powheg will later try to find it in all directories contained in $PYTHONPATH. This will produce several "not found" info messages which can safely be ignored.')