This line:
sift = cv2.xfeatures2d.SIFT_create()
return error:
Traceback (most recent call last): File \"C:/Python27/openC
The problem is with your version of OpenCV. You say you're on version 2.4.11 but this version of OpenCV doesn't have this method available to it.
You can check the documentation. It has features2d
Whereas OpenCV 3.0 does.