I'm trying to compile my python script into a single .exe using gui2exe (which uses py2exe to create a .exe). My program is using wxWidgets and everytime I try to compile it I get the following error message:
error MSVCP90.dll: No such file or directory.
I have already downloaded and installed the VC++ redistributable package, so I should have this .dll shouldn't I?
Yes you should have it. You have to exclude it from py2exe.
options = {
'py2exe': {
'dll_excludes': [
'MSVCP90.dll'
]
}
}
setup(windows=["main.py"], options=options)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With