This is not an answer, but unfortunately there was no output from the pyside command for macOS sierra. Only supported OS from Apple
10.6 Snow LeopardOS X
10.7 LionOS X
10.8 Mount LionOS X
10.9 MavericksOS X
10.10 Yosemite
Update: (you can try it yet)
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/fdfc724dd532345f5c6cdf47dc43e99654e6a5fd/Formula/qt5.rb brew install ./qt5.rb
If the above lines do not work:
You will need the Xcode command line tools:
xcode-select
Then the following packages can be easily installed via brew:
brew install qt5 cmake libxslt libxml2
This will install Qt 5.6.1-1 and cmake 3.5.2 your system.
Now is the time to clone! Not from github, but from this link: So, clone the pyside-setup repository and remove gitmodules as well:
git clone --recursive https:
This command works great for people using Python 2.7.11 and Python 3.5.1. Remember that you have a package with a wheel installed or you will receive a bdist_wheel error message.
python setup.py bdist_wheel --ignore-git --qmake=/usr/local/Cellar/qt5/5.6.1-1/bin/qmake --cmake=/usr/local/bin/cmake --openssl=/usr/local/Cellar/openssl/1.0.2h_1/bin
(Note: The exact paths given in the arguments may not be the same on your system, so check them out before compiling)
Install the wheel:
The wheel was built reliably in the dist folder. So just cd dist and pip install away!
Notes on precompiled wheels
Unfortunately, and, as in the case of PySide, these wheels are not "portable" and are not installed on systems that no longer have the installed version of Qt5 used at compile time. This, I believe, is due to the fact that PySide2 is dynamically linked (instead of statically) to the Qt5 installation. Hopefully this is what Qt will call through the official PySide2 wheels, as Riverbank Software now provides the fully portable PyQt5 wheel for Python 3, which is absolutely awesome.
New repository (not from github)
Link