Has anyone an explanation why importing wx would generate this error when py2exe'ing a small script.
creating python loader for extension 'wx._gdi_' (C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi_.pyd -> wx._gdi_.pyd)
creating python loader for extension 'wx._controls_' (C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_controls_.pyd -> wx._controls_.pyd)
creating python loader for extension '_ssl' (C:\Python26\DLLs\_ssl.pyd -> _ssl.pyd)
creating python loader for extension 'bz2' (C:\Python26\DLLs\bz2.pyd -> bz2.pyd)
error: MSVCP90.dll: No such file or directory
The fix is very easy, i.e. put the dll into Python26 folder, however I wonder why Python or wxPython doesn't install this dll in the right place.
I am on Windows 7 and I run into this with both 2.8.10.1 and 2.9pre with Python 2.6.3. I then installed Py 2.6.4 (for this user only) but still see the same problem.
I had the same problem and I resolved that doing the same thing.
Plus, if you nedd to run your exe application on a Windows XP machine
you must install the Visual C++ Runtime 9.0.21022.
···
2010/2/11 werner <wbruhin@free.fr>:
Has anyone an explanation why importing wx would generate this error when
py2exe'ing a small script.
creating python loader for extension 'wx._gdi_'
(C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi_.pyd ->
wx._gdi_.pyd)
creating python loader for extension 'wx._controls_'
(C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_controls_.pyd ->
wx._controls_.pyd)
creating python loader for extension '_ssl' (C:\Python26\DLLs\_ssl.pyd ->
_ssl.pyd)
creating python loader for extension 'bz2' (C:\Python26\DLLs\bz2.pyd ->
bz2.pyd)
error: MSVCP90.dll: No such file or directory
The fix is very easy, i.e. put the dll into Python26 folder, however I
wonder why Python or wxPython doesn't install this dll in the right place.
I am on Windows 7 and I run into this with both 2.8.10.1 and 2.9pre with
Python 2.6.3. I then installed Py 2.6.4 (for this user only) but still see
the same problem.