Run compiled .exe from ptyhon and Firebird / Interbase in different versions of Windows

0

Hi, I have a problem in executing .exe compiled with cx_freeze from a .py and executing them in different versions of Windows, they do not have python installed ...... Maybe I miss them because they need them the installation of python and the libraries that I use?

The .exe is compiled in windows, but when I run it in another virtual machine with the same version it says DLL load failed: The specified module can not be found and it makes reference to kinterbasdb ERROR

  

ImportError: DLL load failed: This application has failed to start   because the a

     

pplication configuration is incorrect. Reinstalling the application   may fix this

     

problem.

    
asked by Nahuel Jakobson 06.04.2016 в 18:57
source

2 answers

2

You will not be able to run .exe on different operating systems. The answer to your question would be that you will only be able to do it in Windows . If you need to execute your scripts in some other operating system you will have to do the process again in that operating system (so it will no longer be a .exe ).

Taken from the cx_freeze documentation:

  

cx_Freeze works on Windows, Mac and Linux, but on each platform it   only makes an executable that runs on that platform. So if you want to   freeze your program for Windows, freeze it on Windows; if you want to   run it on Macs, freeze it on a Mac.

That basically translates like this:

  

cx_Freeze works on Windows, Mac, and Linux, but on each platform only   create an executable that works on that platform. So if you want   create an executable for Windows, do it in Windows; if you want to make a   executable run on Mac, do it on Mac.

    
answered by 06.04.2016 в 19:13
0

ERROR RESOLVED ..... The solution was to load the file fbclient.dll to Windows System32. This file is a Dynamic Link Library. This library can be loaded and executed in any running process.

Greetings

    
answered by 07.04.2016 в 21:37