Did you compile with Python support? (did makepanda warn about not finding python-dev at the beginning?)