title: Trouble Installing OpenFace in Python
body: <p>I am new to deeplearning and face recognition. After searching, I found this python package about deeplearning applied to face recognition called OpenFace. From its documentation, I think it is build on top of Torch for the neural nets computation.</p>
  
  <p>I want to install the package in a virtual environment, so basically these are steps I made:</p>
  
  <ol>
  <li>brew install the necessary system requirements: bash,coreutils,curl,findutils,opencv, python and boost-python</li>
  <li>Make a virtual environment and install dlib, numpy, scipy, pandas, scikit-learn, scikit-image</li>
  <li>Cloned the openface github repository </li>
  <li><p>Install Torch </p>
  
  <p><code>curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash
  git clone https://github.com/torch/distro.git torch --recursive
  cd torch
  ./install.sh
  source install/bin/torch-activate
  luarocks install csvigo
  luarocks install dpnn
  luarocks install nn</code></p></li>
  <li>cd to cloned openface repo and run 
  <code>python setup.py install</code></li>
  </ol>
  
  <p>However when I run python:</p>
  
  <p><code>&gt;&gt;&gt;import openface</code></p>
  
  <p>I get:</p>
  
  <p><code>Segmentation Fault: 11</code></p>
  
  <p>How do I fix this? Also, are there any other tutorials for using openface?
  How to properly install OpenFace? </p>