I have 32-bit version of MATLAB 2014b (220.127.116.11421 (R2014b)) and a 32 bit version of python (Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32) on a windows 7 64-bit machine. I installed python using the standard installer on python.org. I have python in the system path (which MATLAB confirms when I use a "getenv('PATH')" command.) Every time I try to get pyversion to recognize python, I get "Error using pyversion: Path argument does not specify a valid executable." I have tired using just 2.7 as an argument as well as the full path to the executable 'C:\Python27\python.exe'. (And I've confirmed python really is there.) Is there something I'm missing, or haven't set up properly?