Python subprocess can't find Pythonpath module
Python subprocess can't find Pythonpath module Question: I am trying to use subprocess.run([‘python3.9’, "scripts/example.py"], check=True). example.py uses a module, that I have added to the PYTHONPATH. However, whenever I run the above line, the module is not found. The confusing part for me is, that printing sys.path inside of example.py I do see the path …