[PySide] "Could not detect Python module installation directory" on OSX with pyside-setup

St├ęphane Klein contact at stephane-klein.info
Fri Mar 8 17:37:34 CET 2013


I've installed qt with :

$ brew install qt

Now, I try to compile PySide like this :

$ mkdir ~/tests
$ cd tests
$ git clone https://github.com/PySide/pyside-setup.git
$ cd pyside-setup/
$ python setup.py bdist_egg
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using default python: -python2.7
CMake Error at /usr/lib/cmake/Shiboken-1.1.1/ShibokenConfig.cmake:5 (include):
  include could not find load file:

Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)

-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.4", minimum
required is "4.5.0")
-- Detected OS: mac
CMake Error at CMakeLists.txt:148 (message):
  Could not detect Python module installation directory.

-- Configuring incomplete, errors occurred!
error: Error configuring pyside

Have you one idea about this error ?

You can read the full log here :

Best regards,
St├ęphane Klein <contact at stephane-klein.info>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
cv: http://cv.stephane-klein.info

More information about the PySide mailing list