Błąd importu Pythona dla modułów zainstalowanych z Homebrew

Już zainstalowałem PySide przy użyciu homebrew, ale pojawia się błąd, gdy moje skrypty uruchamiają takie rzeczy, jak

from PySide import QtWebKit

Kiedy próbujębrew install pyside Dostaję błądpyside-1.2.0 already installed

Kiedy próbujępip install pyside Otrzymuję następujący błąd:

In file included from /Users/fitvalet/wgwt/env/build/pyside/sources/pyside/plugins/customwidgets.cpp:23:

/Users/fitvalet/wgwt/env/build/pyside/sources/pyside/plugins/customwidget.h:27:10: fatal error: 'QtDesigner/QtDesigner' file not found

fatal error: 'QtDesigner/QtDesigner' file not found

#include <QtDesigner/QtDesigner>

     ^

2 warnings and 1 error generated.

make[2]: *** [plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o] Error 1

make[1]: *** [plugins/CMakeFiles/uiplugin.dir/all] Error 2

make: *** [all] Error 2

error: Error compiling pyside

...

Command /Users/fitvalet/WGWT/env/bin/python -c 
"import setuptools;__file__='/Users/fitvalet/WGWT/env/build/pyside/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /var/folders/rb/qjx8psqs3gj48qmpgbqqvrhc0000gn/T/pip-h69ltB-record/install-record.txt --single-version-externally-managed --install-headers 
/Users/fitvalet/WGWT/env/include/site/python2.7 failed with error code 1 in 
/Users/fitvalet/WGWT/env/build/pyside
Storing complete log in /Users/fitvalet/.pip/pip.log

Próbowałem teżeasy_install pyside i dostałem ten błąd:

2 warnings and 1 error generated.
make[2]: *** [plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o] Error 1
make[1]: *** [plugins/CMakeFiles/uiplugin.dir/all] Error 2
make: *** [all] Error 2
error: Setup script exited with error: Error compiling pyside

questionAnswers(1)

yourAnswerToTheQuestion