[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


Hi,

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:


/Volumes/ramdisk/install/usr/lib/cmake/Shiboken-1.1.1/ShibokenConfig-python2.7.cmake
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 :
https://gist.github.com/harobed/efac6dd314a5bc53f94e

Best regards,
Stephane
-- 
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
http://www.usenet-fr.net/fur/usenet/repondre-sur-usenet.html
http://fr.wikipedia.org/wiki/TOFU_(Usenet_et_Internet)



More information about the PySide mailing list