I found this one works best for me, just two extra lines in code and no need to modify any environment variables.
import sys sys.path.append('/path/to/my_lib') import my_pandas