Just recalled I asked this question a while ago. One possible thing to do is to add the local file to PYTHONPATH.
So
export PYTHONPATH='${PYTHONPATH}:path/to/local/file'
will allow Python to search for the package in the current folder.
However, it is necessary to remove the original file, OR create a venv