Shipping python runtime with excel
<p>According to the xlwings website:-</p>

<p>Easy deployment: The receiver of an xlwings-powered spreadsheets only needs Python with minimal dependencies â or nothing at all when shipped with the Python runtime.</p>

<p>I have installed Anaconda and written some python code and run it from Excel using xlwings</p>

<p>I put this spreadsheet on a different computer than the one I developed on and placed the python.exe and a few dll's that got installed with Anaconda into a directory with the spreadsheet</p>

<p>I added the path to the environment variables so it could find python</p>

<p>The spreadsheet looked like it invoked python but got an overflow error</p>

<p>I'm trying to ship the spreadsheet in the leanest possible manner.  I don't really want to have to get all users to install python</p>

<p>Is this approach possible and which files do I need to include?</p>

<p>"When shipped with the Python runtime" is referring to the underdocumented approach of using a freezer (like py2exe or cx_Freeze) and creating a self-contained directory that includes the whole Python dependency.</p>

<p>There is the standalone version of the <a href="https://github.com/ZoomerAnalytics/xlwings/tree/master/examples/fibonacci" rel="nofollow">Fibonacci example</a> where you can see how it is being done. You can also download the respective "standalone" sample from <a href="http://www.xlwings.org/examples" rel="nofollow">http://www.xlwings.org/examples</a>.</p>

python xlwings