Help Center/ Meeting/ Client SDK Reference/ FAQs/ Electron SDK/ What Should I Do If the Error Message "Could not find any Python installation to use" Is Displayed When I Compile a .node File on Windows?
Updated on 2024-07-30 GMT+08:00

What Should I Do If the Error Message "Could not find any Python installation to use" Is Displayed When I Compile a .node File on Windows?

Customer Case

When a .node file is compiled on the Windows platform, the message "Could not find any Python installation to use" is displayed.

Cause Analysis

The Python environment variables are not properly configured.

Solution

1. Configure Python environment variables in the system.

2. Alternatively, reinstall Python, select Customize Installation, and select Add Python to PATH and Install launcher for all users.