title: Building an executable file for python code using py2exe. ImportError: No module named cell
body: <p>I installed "py2exe" for "Python2.7" , made a "Hello World" program, used py2exe to build its exe and it worked perfectly.</p>
  
  <p>Now when I tried building the exe of my actual code, the folders get created and exe is also created without any problem but when I launch the exe the console appears for less than a second and closes.</p>
  
  <p>Following are import commands which I am using:</p>
  
  <pre><code>import tweepy
  from tweepy import Stream
  from tweepy import OAuthHandler
  from tweepy.streaming import StreamListener
  import json
  __version__='2.4.8'
  from openpyxl import __version__
  from openpyxl import Workbook
  from Tkinter import *
  import tkFileDialog
  </code></pre>
  
  <p>My setup file is like this:</p>
  
  <pre><code>from distutils.core import setup
  import py2exe
  __version__='2.3.5'
  from openpyxl import __version__
  from openpyxl.cell import Cell
  
  setup(
      windows=[{"script":'try.py'}],
      options = {"py2exe":{"includes":["tweepy","openpyxl.reader.excel","openpyxl.cell","openpyxl.workbook","openpyxl.worksheet","jdcal","xlutils","json","xlrd","Tkconstants","Tkinter","tkFileDialog","xml.etree.ElementPath", "xml.etree.ElementTree","xml.etree.cElementTree"],
   "packages": ["xml.etree", "xml"]}}
      )
  </code></pre>
  
  <p>The error which I am getting is :</p>
  
  <pre><code>Traceback (most recent call last):
    File "try.py", line 7, in &lt;module&gt;
    File "openpyxl\__init__.pyc", line 29, in &lt;module&gt;
    File "openpyxl\workbook\__init__.pyc", line 5, in &lt;module&gt;
    File "openpyxl\workbook\workbook.pyc", line 8, in &lt;module&gt;
    File "openpyxl\worksheet\__init__.pyc", line 4, in &lt;module&gt;
    File "openpyxl\worksheet\worksheet.pyc", line 23, in &lt;module&gt;
    File "openpyxl\utils\__init__.pyc", line 5, in &lt;module&gt;
  ImportError: No module named cell
  </code></pre>
  
  <p>My file name is try.py</p>