title: py2exe: run the compiled .exe, got error: type object 'pandas._libs.tslib._TSObject' has no attribute...__'
body: <p>I use py2exe to compile python script. The python script runs without any error before compiling. </p>
  
  <p>below is the setup.py</p>
  
  <pre><code>from distutils.core import setup
  import py2exe, sys, os 
  import matplotlib
  import numpy
  from glob import glob
  
  sys.argv.append('py2exe')
  
  datafiles = [("Microsoft.VC90.CRT", glob(r'C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_99b61f5e8371c1d4\*.*'))]
  datafiles.extend(matplotlib.get_py2exe_datafiles())
  
  setup(windows=['Run.py'], data_files= datafiles, options={"py2exe": {"includes": ["matplotlib"]}}) 
  </code></pre>
  
  <p>In the run.py, I imported pandas. Pandas is used in a function as below</p>
  
  <pre><code>import pandas
  
  def PossDist(Iterations, AssumptionFolder, ResultFolder, SampledResult):
      SampledLoss = pandas.read_csv(SampledResult)
      d= pandas.pivot_table(...)
  
  The compile finished successfully without error. 
  </code></pre>
  
  <p>When I run the compiled run.exe, I got error as below. </p>
  
  <p>Traceback (most recent call last):
    File "Run.py", line 6, in 
    File "xlwings__init__.pyc", line 34, in </p>
  
  <p>File "xlwings\main.pyc", line 1727, in </p>
  
  <p>File "xlwings\conversion__init__.pyc", line 3, in </p>
  
  <p>File "pandas__init__.pyc", line 26, in 
      Main Features
    File "pandas_libs__init__.pyc", line 4, in </p>
  
  <p>File "pandas_libs\tslib.pyc", line 12, in </p>
  
  <p>File "pandas_libs\tslib.pyc", line 10, in __load</p>
  
  <p>File "pandas_libs\tslib.pyx", line 1514, in init pandas._libs.tslib
  AttributeError: type object 'pandas._libs.tslib._TSObject' has no attribute '<strong>reduce_cython</strong>'</p>
  
  <p>Anyone have any clue? </p>
  
  <p>Is there other way to let others run my python script on pc without python installed? </p>
  
  <p>Thanks,</p>