title: ImportError: No Module Named Shell; shell not imported (32-bit, python)
body: <p>I'm working on a project in python with many different python files and extra libraries that have to be installed, and I'm currently trying to compile a 32-bit version (we currently only have a 64-bit .exe).</p>
  
  <p>However, though everything works perfectly when running the regular python file, when running the compiled .exe (compiled with py2exe), I keep getting the error:</p>
  
  <pre><code> Traceback (most recent call last):
      File "fredchat.py", line 23, in &lt;module&gt;
      File "fcio.pyc", line 20, in &lt;module&gt;
   ImportError: No module named shell
  </code></pre>
  
  <p>fredchat.py has, as expected, an</p>
  
  <pre><code> import fcio
  </code></pre>
  
  <p>command at line 23. However, nowhere in fcio.py is the word "shell" even mentioned!</p>
  
  <p>Our setup.py is pretty much exactly the basic:</p>
  
  <pre><code> from distutils.core import setup
   import py2exe
  
   setup(console=['fredchat.py'])
  </code></pre>
  
  <p>Unfortunately I can't give any of the actual code, A. because it's long, and B. because the project leader is quite restrictive (understandably) about what code we give out when.</p>