473,218 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

ImportError: MemoryLoadLibrary failed loading

Hi,

Recently I began my journey into creating executables. I am using
Andrea
Gavana's cool GUI2EXE program which works very well and that is a GUI
for
py2ece. I am also using Inno Setup to create a script/executable.
Anyway,
today I am putting the program to the test with some volunteer testers
and
I've hit a wall. On the first tester's PC the program installed
beautifully and runs great. The next tester's PC, the program failed
to
run complaining that MSVCR71.dll didn't exist. I copied that file on
there and now I get the following traceback written to my exe's log
file:

Traceback (most recent call last):
File "reminder.py", line 23, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\__init__.pyo", line 45, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\_core.pyo", line 4, in ?
File "zipextimporter.pyo", line 91, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd

I see other user's have this issue too sometimes and they talk a lot
about
a "gdiplus.dll" file. My user's PC has that file in 4 places on her
computer and my development PC has it in 6 places. Does either DLL
have to
be in a specific location for the executable to find it? Is this
something
else entirely? I tried sticking the gdiplus.dll file in the directory
my
executable runs from too, but that didn't work either.

I have posted this to the wxPython's group and the py2exe group, but
the latter doesn't have much activity and the wxPython suggestions
didn't work.

Thanks a lot!
Mike

Jul 9 '07 #1
1 6335
On Jul 9, 12:47 pm, kyoso...@gmail.com wrote:
Hi,

Recently I began my journey into creating executables. I am using
Andrea
Gavana's cool GUI2EXE program which works very well and that is a GUI
for
py2ece. I am also using Inno Setup to create a script/executable.
Anyway,
today I am putting the program to the test with some volunteer testers
and
I've hit a wall. On the first tester's PC the program installed
beautifully and runs great. The next tester's PC, the program failed
to
run complaining that MSVCR71.dll didn't exist. I copied that file on
there and now I get the following traceback written to my exe's log
file:

Traceback (most recent call last):
File "reminder.py", line 23, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\__init__.pyo", line 45, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\_core.pyo", line 4, in ?
File "zipextimporter.pyo", line 91, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd

I see other user's have this issue too sometimes and they talk a lot
about
a "gdiplus.dll" file. My user's PC has that file in 4 places on her
computer and my development PC has it in 6 places. Does either DLL
have to
be in a specific location for the executable to find it? Is this
something
else entirely? I tried sticking the gdiplus.dll file in the directory
my
executable runs from too, but that didn't work either.

I have posted this to the wxPython's group and the py2exe group, but
the latter doesn't have much activity and the wxPython suggestions
didn't work.

Thanks a lot!

Mike
I figured this out, not that anyone probably cares. It seems the
program was looking for MSVCP71.dll, but I (alas) included the
MSVCR71.dll instead. If I include the correct file, it works. For all
the newbs out there, spelling makes a difference!

Mike

Jul 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
1
by: Scott Silliman | last post by:
I'm getting the following when I run my executable: File "/usr/lib/python2.2/socket.py", line 41, in ? from _socket import * ImportError: /usr/lib/python2.2/lib-dynload/_socketmodule.so:...
0
by: Cousin Stanley | last post by:
I __had__ a __working__ installation of the GTK Runtime and PyGTK using Python23 under Win98, but managed to muck it up, I think but couldn't swear to it, with a separate install of wGlade ...
0
by: Ben McBride | last post by:
I'm trying to wrap a DLL, using SWIG, for an extension module and am having an obscure ImportError. I've been unable to find anything through the SWIG documentation and an extensive google search....
0
by: Ajay | last post by:
hi! I wrote a simple C code to work with OpenSSL and it builds fine. however when i import it, i get an error ImportError: DLL load failed. The specified module could not be found. the file...
1
by: kencana | last post by:
Hi all, I was wondering why I always get "failed to open stream: HTTP request failed!" error in either loading a normal or xml file. i don't understand why i can't get the whole result. the result...
1
by: Sjoerd | last post by:
Hello! When I try to import the MySQLdb lib python generates an error: Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import MySQLdb File...
2
by: Simon Forman | last post by:
Hello, I just installed Matplotlib (and NumPy) on a windows XP machine, and I'm getting the following traceback when I try to use the TkAgg backend. Python 2.5.1 (r251:54863, Apr 18 2007,...
0
by: Andrew MacIntyre | last post by:
Tony May wrote: The DLL that's actually being imported by your script is not a Python extension module, as the modules initialisation function can't be found. Use the -v option on the Python...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.