title: ImportError: No module named plyfile
body: <p>I have installed plyfile using the pip install. Then I executed the following snipper inside a file named "testview.py":</p>
  
  <pre><code># Python imports
  import sys, os
  
  
  ## Imports from this project
  sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'core')) 
  # hack to allow local imports without creaing a module or modifying the path variable
  
  from InputOutput import *
  from MeshDisplay import MeshDisplay
  from HalfEdgeMesh import *
  
  
  def main():
  
      # Get the path for the mesh to load, either from the program argument if
      # one was given, or a dialog otherwise
      if(len(sys.argv) &gt; 1):
          filename = sys.argv[1]
  else:
      print("ERROR: No file name specified. Proper syntax is 'python testview.py path/to/your/mesh.obj'.")
      exit()
  
  # Read in the mesh
  mesh = HalfEdgeMesh(readMesh(filename))
  
  # Create a viewer window
  winName = 'meshview -- ' + os.path.basename(filename)
  meshDisplay = MeshDisplay(windowTitle=winName)
  meshDisplay.setMesh(mesh)
  meshDisplay.startMainLoop()
  
  
  if __name__ == "__main__": main()
  </code></pre>
  
  <p>with the following command:</p>
  
  <pre><code>python testview.py ../meshes/bunny.obj
  
  
  
  Traceback (most recent call last):
     File "testview.py", line 13, in &lt;module&gt;
  from InputOutput import *
     File "../core/InputOutput.py", line 2, in &lt;module&gt;
  from plyfile import PlyData, PlyElement, make2d
  ImportError: No module named plyfile
  </code></pre>
  
  <p>How to check that plyfile is indeed installed. I have installed it with the following command:</p>
  
  <pre><code>sudo -H pip install plyfile
  </code></pre>
  
  <p>And I got the following output of the above command:</p>
  
  <pre><code>Requirement already satisfied: plyfile in /usr/local/lib/python3.5/dist-packages
  Requirement already satisfied: numpy&gt;=1.8 in /usr/lib/python3/dist-packages (from plyfile)
  </code></pre>
  
  <p>By the way I have both python 2.7 and python 3+ installed on ubuntu. Some hint to get around this issue?</p>