How to create Cython .exe with GUI - Python - Windows

Viewed 27

I'm on Windows 11 and I want to create a .exe from my Python script using Cython. However, I proceed using the following:

cython test.py --embed

and after

cl test.c /I C:\Users\user\AppData\Local\Programs\Python\Python37\include /link C:\Users\user\AppData\Local\Programs\Python\Python37\libs\python37.lib /subsystem:windows /ENTRY:wmainCRTStartup

However, this create all the files including the .exe but when I click the .exe nothing happens.

In my Python script I uses Selenium and Tkinter.

0 Answers
Related