To guide Python to the right place, you may need to tinker with PYTHONPATH: (Editing because link is broken).
PYTHONPATH sets the search path for importing python modules:
PYTHONPATH Augment the default search path for module files. The format is
the same as the shell’s PATH: one or more directory pathnames separated by
os.pathsep (e.g. colons on Unix or semicolons on Windows). Non-existent
directories are silently ignored.
In addition to normal directories, individual PYTHONPATH entries may refer
to zipfiles containing pure Python modules (in either source or compiled
form). Extension modules cannot be imported from zipfiles.
The default search path is installation dependent, but generally begins with
prefix/lib/pythonversion (see PYTHONHOME above). It is always appended to
PYTHONPATH.
An additional directory will be inserted in the search path in front of
PYTHONPATH as described above under Interface options. The search path can
be manipulated from within a Python program as the variable sys.path.
To set the variable, either specify it when you run your python script:
PYTHONPATH=/blah/whatever/ python somescript.py somecommand
Or export it to your Bash environment:
export PYTHONPATH=/blah/whatever/