← Back to team overview

dolfin team mailing list archive

Re: [Question #137667]: CMake choosing wrong Python interpreter

 

Question #137667 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/137667

Johannes Ring proposed the following answer:
@Johan: I'm not sure. FindPythonLibs.cmake doesn't use PYTHON_EXECUTABLE
so you are probably right.

@Andy: Try to configure DOLFIN with
-DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python2.6 and
-DPYTHON_LIBRARIES:FILEPATH:/usr/lib/libpython2.6.so (substitute
/usr/include/2.6 and /usr/lib/libpython2.6.so as necessary).

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References