Note that there are some explanatory texts on larger screens.

plurals
  1. POpy2exe: Compiled Python Windows Application won't run because of DLL
    primarykey
    data
    text
    <p>I will confess I'm very new to Python and I don't really know what I'm doing yet. Recently I created a very small Windows application using Python 2.6.2 and wxPython 2.8. And it works great; I'm quite pleased with how well it works normally. By normally I mean when I invoke it directly through the Python interpreter, like this:</p> <pre><code>&gt; python myapp.py </code></pre> <p>However, I wanted to go a step further and actually compile this into a standalone executable file. So I followed <a href="http://wiki.wxpython.org/DistributingYourApplication" rel="nofollow noreferrer">these instructions</a> from the wxPython wiki which utilize py2exe. At first it gave me errors in the command line, saying MSVCR90.dll was missing. Then I copied MSVCR90.dll to my Python\DLLs folder. That looked at first like it fixed it, since it successfully did what it needed to do. It did finish with a quick warning that there were some DLL files the program depends on and I may or may not need to distribute them.</p> <p>So I navigated into the dist folder that py2exe had created and tried running my executable. But trying to open it only popped up an error dialog that said:</p> <pre><code>This application failed to start because MSVCR90.dll was not found. Re-installing the application may fix this problem. </code></pre> <p>So I went ahead and copied MSVCR90.dll again into this dist folder. But that didn't do the trick. Then I copied it into the WINDOWS\system32 directory. That didn't do it either. What do I need to do to get this thing to work?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload