If you want to run an unmodified python script so it imports libraries from a specific local directory you can set the PYTHONPATH
environment variable - e.g. in bash:
export PYTHONPATH=/home/user/my_libs
python myscript.py
If you just want it to import from the current working directory use the .
notation:
export PYTHONPATH=.
python myscript.py