PyQtBuilder and Python from source on Windows

Patrick Stinson patrickkidd at
Mon Oct 5 07:43:08 BST 2020

sip-build for PyQt5 fails to find Python.h with Python [3.7.8] built from source on Windows [10]. I imagine this has to do with how the python source seems to have no notion of an install prefix on Windows and leaves binaries in the build dir.

Is there any way to specify include dirs and probably also lib dirs to sip-build for PyQt5? Python headers are in <PY_SOURCE>\include and <PY_SOURCE>\PC.


More information about the PyQt mailing list