I have two packages installed with the same name, one globally and one locally (a development version). My PYTHONPATH has to local directory in it. Now, when importing in Python, I want to choose which package I take. Is there any way to do this?
Share
The easiest way is giving the local package a different name and then using
import foo_dev as fooinstead of justimport foo