I want to use a flann-based matcher in Python as described in http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html
I got same problem on my computer. so, I maked a new virtual-machine with Ubuntu 14.04 and tested.
I don't know why.... but, I got this problem solved with OpenCV 3.0.0-rc1.
If you are using OpenCV3.0.0, then try another release of OpenCV3
For installation , I was referring to the following page. http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/ On this page, Opencv's version is alpha. To read as in the example below.
wget https://github.com/Itseez/opencv/archive/3.0.0-rc1.zip -O opencv-3.0.0-rc1.zip