prioritize python directories to load packages from for interpreter

At the moment I am running my python code at a server where I do not write access. All needed packages for my python code are there, although a bit outdated. Especially, for one package I would like to use a newer version, which I can download to my personal folder where I do have write access.

All fine so far, but when I add this path to the interpreter path it still defaults to the old version of the python package on the server. So, my question is: How can I force the python interpreter to look first in my personal folder for packages and afterwards in other folders?


Please sign in to leave a comment.