title: OpenCV: AttributeError: module 'cv2' has no attribute 'face'
body: <p>I am creating a face recognition system using Python and OpenCV on these versions:</p>
  
  <ul>
  <li>Python 3.6.2 :: Anaconda custom (64-bit)</li>
  <li>Anaconda 4.3.23</li>
  <li>OpenCV 3.3.0</li>
  </ul>
  
  <p>When I try to train the face recognizer:</p>
  
  <pre><code>face_recognizer = cv2.face.createLBPHFaceRecognizer()
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>AttributeError: module 'cv2' has no attribute 'face'</p>
  </blockquote>
  
  <p>Update:</p>
  
  <p>I've tried to do this:</p>
  
  <pre><code>pip install opencv_python‑3.3.0+contrib‑cp36‑cp36m‑win_amd64.whl
  </code></pre>
  
  <p>Also:</p>
  
  <pre><code>conda install -c menpo opencv3=3.3.0
  </code></pre>
  
  <p>And I still have the error.</p>