问题描述: Traceback (most recent call last): File /home/lee/PycharmProjects/surf/surf.py, line 17, in sift = cv2.xfeatures2d.SIFT_create() AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' python版本: 由于版权问题需要退回python3.4,打开Pycharm的终端 终端中输入: pip uninstall opencv-python pip uninst