Its not something I’ve encountered myself.
Is it possible you’ve got some scripts at startup that might be removing paths? In the past I’ve included code to clear nonexistent paths from
sys.path just so it wouldn’t be so cluttered, that happened to break once such that it wiped out almost all the paths.
When you do run into this, its probably best to check and see if the path is still in the environment, but not on
for path in os.environ.get('pythonpath', '').split(os.pathsep):
if path not in sys.path: