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

Roman Lacko backup.rlacko at gmail.com
Mon Sep 17 13:42:09 CEST 2012


Hi,

did you run the setup.py with your custom python enterpreter ? can you
send the build output ?

Regards
Roman

2012/9/17 Tejashri Kandolkar <tejashri.kandolkar at gmail.com>:
> 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.
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>



More information about the PySide mailing list