def check_python_matlab_architecture(bits, lib_dir):
if not os.path.isdir(lib_dir):<EOL><INDENT>raise RuntimeError("<STR_LIT>".format(bits=bits, lib_dir=lib_dir))<EOL><DEDENT>
Make sure we can find corresponding installation of Python and MATLAB.