Bug 168514 - There is no pythonw.exe executable in embedded Python distribution
Summary: There is no pythonw.exe executable in embedded Python distribution
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-22 22:33 UTC by denis.gz
Modified: 2025-09-22 22:33 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description denis.gz 2025-09-22 22:33:06 UTC
Description:
The pythonw.exe executable is used on Windows for GUI applications. It only differs from python.exe in that when the application runs, it doesn't create a console window. Sometimes applications have their own startup executable, in this case the application would fail to run.

Steps to Reproduce:
1. Using pip command, install some package which contains a GUI app (for example,
   "pip install spyder", provided that bug #168512 is resolved)
2. Run the app

Actual Results:
The application fails with a message saying that it's "Unable to create process using pythonw.exe": The system cannot find the file specified.

Expected Results:
The application runs successfully.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
An easy workaround exists, consisting in copying python.exe as pythonw.exe at the same location (venv or program folder), however an empty console window is created when the application is run.