Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exe is created by doesn't run (opens then closes) #189

Open
AshrafMMahdy opened this issue Aug 30, 2023 · 0 comments
Open

Exe is created by doesn't run (opens then closes) #189

AshrafMMahdy opened this issue Aug 30, 2023 · 0 comments

Comments

@AshrafMMahdy
Copy link

I have an ml model using SKLearn that I want to turn into an exe.

The first thing I tried is to create an intermediate script that is getting turned into an exe. That script worked and asked me for my user inputs. But after I input them it doesn't relay them to the model like it does if I run it directly from the IDE through the console log..

So I decided to skip the intermediate script and just code my user inputs as part of the model, now when I try to open the exe it just opens and closes

I am using a few external libraries that I think maybe py2exe is having trouble finding?

One of them is Intel's SKLearn Patch called sklearnex The other is tqdm (progress in Arabic) for creating a progress line for my model Training

My py2exe script is only 1 line without trying to add anything else Freeze(console =[{'model: my_model.py}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant