Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4598 > unrolled thread

Re: dll errors in compiled python program

Started byDonAmit <amit.paunikar@gmail.com>
First post2011-05-03 23:12 -0700
Last post2011-05-03 23:12 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: dll errors in compiled python program DonAmit <amit.paunikar@gmail.com> - 2011-05-03 23:12 -0700

#4598 — Re: dll errors in compiled python program

FromDonAmit <amit.paunikar@gmail.com>
Date2011-05-03 23:12 -0700
SubjectRe: dll errors in compiled python program
Message-ID<mailman.1140.1304489523.9059.python-list@python.org>
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 <mehg...@gmail.com> 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 including the necessary MS
> runtime dll[1]?
> 
> 1: http://www.py2exe.org/index.cgi/Tutorial#Step5
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 

-- 
View this message in context: http://old.nabble.com/dll-errors-in-compiled-python-program-tp28407640p31538796.html
Sent from the Python - python-list mailing list archive at Nabble.com.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web