Set src as PYTHONPATH relative to project, not as an absolute value
The solution at the link below seems to be setting the PYTHONPATH as an absolute path, rather than a relative path.
The problem with an absolute path is that it differs from one user to another, so this can't be used as a project setting across teams.
Since that is so obviously wrong, I am sure that I am missing something. So, how should the PYTHONPATH be set please?
Many thanks
Nathan
Please sign in to leave a comment.
Hi,
There's no way to set relative paths using Interpreter Paths config. I suggest to generate PYTHONPATH for each user using a custom script, and run it during their environment initialization.