Re: dll errors in compiled python program

2011-05-03 Thread DonAmit
You can do this easy by adding this to the options dict in setup.py 'dll_excludes': [ "mswsock.dll", "powrprof.dll" ] source: http://stackoverflow.com/questions/1979486/py2exe-win32api-pyc-importerror-dll-load-failed -Amit alex23 wrote: > > Alex Hall wrote: >> I am stumped. The compiled v

RESOLVED Re: dll errors in compiled python program

2010-04-29 Thread Alex Hall
Thanks for the suggestion. It turns out that the problem was a copy of fowprof.dll, or something like that, which win7 included in my compiled program's dir. I was testing the program on xp, which has its own version of this dll, so deleting the dll from the dir solved it. On 4/29/10, alex23 wrot

Re: dll errors in compiled python program

2010-04-29 Thread alex23
Alex Hall wrote: > I am stumped. The compiled version of my project works on my pc, but > when I put it on a thumb drive and try it on a laptop without python > installed I get this: > ImportError: DLL load failed: The specified procedure could not be found. Are you using py2exe? If so, are you i