title: Error using PyInstaller
body: <p>I'm trying to use PyInstaller to create a standalone OSX app that runs a GUI I've made. When I enter the following in my terminal:</p>
  
  <pre><code>pyinstaller gui.py
  </code></pre>
  
  <p>Everything seems to work until I get the following error:</p>
  
  <pre><code>File "/Users/username/anaconda/bin/PyInstaller", line 11, in &lt;module&gt;
      sys.exit(run())
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/__main__.py", line 90, in run
  run_build(pyi_config, spec_file, **vars(args))
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/__main__.py", line 46, in run_build
  PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/build_main.py", line 788, in main
  build(specfile, kw.get('distpath'), kw.get('workpath'), 
  kw.get('clean_build'))
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/build_main.py", line 734, in build
  exec(text, spec_namespace)
  File "&lt;string&gt;", line 16, in &lt;module&gt;
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/build_main.py", line 212, in __init__
  self.__postinit__()
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/datastruct.py", line 178, in __postinit__
  self.assemble()
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/build_main.py", line 470, in assemble
  module_hook.post_graph()
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/imphook.py", line 409, in post_graph
  self._load_hook_module()
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/building/imphook.py", line 376, in 
  _load_hook_module
  self.hook_module_name, self.hook_filename)
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/hooks/hook-PyQt4.py", line 33, in &lt;module&gt;
  (qt_menu_nib_dir('PyQt4'), ''),
  File "/Users/username/anaconda/lib/python2.7/site-
  packages/PyInstaller/utils/hooks/qt.py", line 125, in qt_menu_nib_dir
  """.format(namespace, path))
  
  Exception: 
              Cannot find qt_menu.nib for PyQt4
              Path checked: 
     /Users/felipe/miniconda/envs/_build/lib/QtGui.framework/Resources/qt_menu.nib
  </code></pre>
  
  <p>Which seems strange, since my name is not felipe!</p>
  
  <p>I have a couple of questions:</p>
  
  <p>1) How is it possible that there is a directory under the name felipe on my computer? (I used anaconda to install qt, I don't know whether that has something to do with it?)</p>
  
  <p>2) Up until I get the error message, PyInstaller is looking in the correct folder. Why does it start looking in this vague (vague to me that is) directory I don't know of?</p>
  
  <p>3) I'm quite a novice regarding directories and I can't find mister felipe anywhere on my computer. When I look in the Users folder I just see my own user and an empty "Shared" folder. (I don't know what the shared folder is used for and why it's there.)</p>
  
  <p>4) Based on what I read on the internet, I copied qt_menu-nib to the folder where the script that's supposed to be turned into a standalone is located. What should I do in order to successfully create a standalone from here? </p>