py2exe error when running exe file
<p>I have successfully converted .py file to .exe file using py2exe. 
I can successfully run the .py file,if i run it standalone.However, when iam trying to run the .exe file, it throws an error as seen in attached image.</p>

<p>In my .py file, i have the below import statements:</p>

<pre><code>import xlrd,xlwt,xlutils.copy,re,time,openpyxl,os
from openpyxl.styles import Alignment
from openpyxl import load_workbook
</code></pre>

<p>I have also accordingly tweaked setup.py file to include these packages as below setup.py code shows</p>

<pre><code>from distutils.core import setup
import py2exe

setup(
    console=['vu_t2.py'],
    options = {
        'py2exe': {
            'packages': ['xlrd','xlwt','xlutils','openpyxl','openpyxl.workbook']
        }
    }
)
</code></pre>

<p>Please refer the attached error snapshot<a href="https://i.stack.imgur.com/VZLse.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VZLse.png" alt="enter image description here"></a></p>

<p>I used the below command to run py2exe</p>

<pre><code>python setup.py py2exe
</code></pre>