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


Groups > comp.lang.python > #8835

Re: module problem on windows 64bit

Date 2011-07-05 17:05 +0200
From Thomas Jollans <t@jollybox.de>
Subject Re: module problem on windows 64bit
References <55f1238e-2613-4767-9c5f-ae4b6e56d1c2@d1g2000yqm.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.634.1309878293.1164.python-list@python.org> (permalink)

Show all headers | View raw


On 06/27/2011 06:59 PM, miamia wrote:
> Hello,
> 
> on 32-bit windows everything works ok but on 64-bit win I am getting
> this error:
> Traceback (most recent call last):
>   File "app.py", line 1040, in do_this_now
>   File "kinterbasdb\__init__.pyc", line 119, in <module>
>   File "kinterbasdb\_kinterbasdb.pyc", line 12, in <module>
>   File "kinterbasdb\_kinterbasdb.pyc", line 10, in __load
> ImportError: DLL load failed: This application has failed to start
> because the application configuration is incorrect. Reinstalling the
> application may fix this problem.
> 
> How to get it work on 64bit windows as well? many thanks

A process can only link to a shared library compiled for the same
architecture as the process. In layman's terms: A 32-bit DLL won't work
with a 64-bit program. It looks like this package is attempting to load
a 32-bit DLL. That's not going to work. Either procure a 64-bit version
of the DLL, or use a 32-bit version of Python.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

module problem on windows 64bit miamia <peterirbizon@gmail.com> - 2011-06-27 09:59 -0700
  Re: module problem on windows 64bit Thomas Jollans <t@jollybox.de> - 2011-07-05 17:05 +0200
    Re: module problem on windows 64bit miamia <peterirbizon@gmail.com> - 2011-07-07 10:24 -0700

csiph-web