Updated by Andrey Kamaev about 13 years ago

After wondering why the cmake checks did not find the installed python modules numpy and sphinx on my system, I have noticed that CMakeList.txt adds ";-B" to the python call which was the culprit.

Commenting out the following lines in CMakeList.txt fixed the error:

<pre>
IF ("${PYTHON_VERSION_MAJOR_MINOR}" VERSION_GREATER 2.4)
SET(PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE} -B)
ENDIF()
</pre>


My environment: python 2.5.2, cmake 2.8.7, numpy 1.0.4, sphinx 1.1.2

Thanks, Christoph

Back