py2exe error: MSVCP90.dll: No such file or directory

Have you seen these pages?
Hopefully they will help
Werner

···

Hi Luke,

  On 22/07/2012 15:04, Luke Whitehorn wrote:

Hi all,
I’m trying to compile a wxPython project consisting of twp
py scripts into an exe, but I’m having some rather annoying
issued.

    When using python setup.py py2exe I get the error in the

subject line -

error: MSVCP90.dll: No such file or directory

    As you can see from the attached setup.py file I've tried the

method outlined in section 5 of py2exe
tutorial

    However, and this is the point where I'm stumped, I have

installed both x84 and x64 redistributables from here and here

but I have no folder called

      C:\Program Files\Microsoft Visual Studio

9.0\VC\redist\x86\Microsoft.VC90.CRT

or any 64 bit equivalent.

So what am I doing wrong?

Thanks in advance for any help.

http://wiki.wxpython.org/Deployment
http://wiki.wxpython.org/py2exe-python26

I had the same problem … this work around fixed it for me … python - py2exe fails to generate an executable - Stack Overflow

···

On Sunday, July 22, 2012 1:05:30 PM UTC-4, werner wrote:

Hi Luke,

  On 22/07/2012 15:04, Luke Whitehorn wrote:

Hi all,
I’m trying to compile a wxPython project consisting of twp
py scripts into an exe, but I’m having some rather annoying
issued.

    When using python setup.py py2exe I get the error in the

subject line -

error: MSVCP90.dll: No such file or directory

    As you can see from the attached setup.py file I've tried the

method outlined in section 5 of py2exe
tutorial

    However, and this is the point where I'm stumped, I have

installed both x84 and x64 redistributables from here and here

but I have no folder called

      C:\Program Files\Microsoft Visual Studio

9.0\VC\redist\x86\Microsoft.VC90.CRT

or any 64 bit equivalent.

So what am I doing wrong?

Thanks in advance for any help.

Have you seen these pages?

[http://wiki.wxpython.org/Deployment](http://wiki.wxpython.org/Deployment)

[http://wiki.wxpython.org/py2exe-python26](http://wiki.wxpython.org/py2exe-python26)



Hopefully they will help

Werner