Problem trying to use python2.7 instead of python2.6

  • Hi everyone !

    I had some python errors when trying to compile my Webkit. It's because of the python version, so I tried to make webkit compiling with python2.7. I edited the CMakeLists.txt (in the root folder of Webkit) and replaced :
    find_package(PythonInterp 2.6.0 REQUIRED)
    by : find_package(PythonInterp 2.7.0 REQUIRED)

    But it doesnt work, I got an error telling me that cmake could not locate any python >2.7 (and I have 2.7 and 3).

    I found a temporary solution : I made a symbolic link : /usr/bin/python2.6--->/usr/bin/python2.7 and kept the former CMakeLists.txt.

    But I would like to fixe the problem "properly"... Any advice ?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    As silly as it may sound, you would have to give cmake the path to find your python 2.7

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.