Hi, Le 17/09/2024, Christian Gelinek <cgeli...@radlogic.com.au> a écrit:
> The Python documentation[0] states that the search path can be extended via > <name>.pth files which should be added to specific directories. (...) > Given that these sub-folders are managed by Debian/`apt`, where should I place > our custom.pth file pointing to other (network drive) folders we would like to > include in Python's search paths? You can put .pth files in directories such as /usr/local/lib/python3.12/dist-packages (substitute the correct Python version). If you use a venv based at <venv-path>, the following directory would also work *for the venv*: <venv-path>/lib/python3.12/site-packages Alternatively, of course, you can rely on the PYTHONPATH environment variable. Regards -- Florent