OPM / opm-utilities

A collection of utilities of interest to the opm community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OPMrun .exe file

danatzhexembin opened this issue · comments

Hello to all! How can I get the .exe file to run just like an application. I can already run through the terminal. With command:
python opmrun.py
Then I tried to build with pyinstaller like in instruction:
pyinstaller --onefile opmrun.py
The build is successful. build and dist folders are created. In dist folder there is an .exe file, but when launched, it does not bring up the opmrun window, as when launched from the terminal.
Error_OPMrun

But when I start with cmd terminal. All is working.

OPMrun_terminal

Building the executable used to work previously but has not worked with the last couple of releases, I have tried to fix this several times but to no available.

Building the executable used to work previously but has not worked with the last couple of releases, I have tried to fix this several times but to no available.

Can you tell me which release I can run in this form?

To be honest I don't know but it was before I added the functions to be able to run under Windows and to use WSL.