[PySide] Build problem on Windows7 32-bit - Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

Tejashri Kandolkar tejashri.kandolkar at gmail.com
Mon Sep 17 13:38:18 CEST 2012


Hi,

I am building PySide from source on win7 32-bit using Python3.2.3,and I get
the following error:

-- Detecting CXX compiler ABI info - done
CMake Error at
c:/cmake28/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.
cmake:97 (MESSAGE):
  Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Call Stack (most recent call first):

c:/cmake28/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288
(_F
PHSA_FAILURE_MESSAGE)
  c:/cmake28/share/cmake-2.8/Modules/FindPythonInterp.cmake:139
(FIND_PACKAGE_HA
NDLE_STANDARD_ARGS)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
setup.py:411: ResourceWarning: unclosed file <_io.TextIOWrapper name=4
encoding=
'cp1252'>
  if run_process(cmake_cmd, log) != 0:
setup.py:411: ResourceWarning: unclosed file <_io.TextIOWrapper name=3
encoding=
'cp1252'>
  if run_process(cmake_cmd, log) != 0:
error: Error configuring pyside-tools


Why is CMake not able to find my python interpretor?
I have set my custom path of python3.2 bin in PATH env variable correctly.

(and the same builds fine on 64-bit machine)
Am I missing something here?

Regards,
Tej.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120917/b54a3f8e/attachment.html>


More information about the PySide mailing list