Skip to content
Thomas Robitaille edited this page Aug 22, 2015 · 1 revision

Just some notes relating to trying Glue with PyQt5

At the moment, we need the developer version of Matplotlib. On Mac, this doesn't work by default with conda because pkg-config isn't included so matplotlib can't find the developer headers. We can install pkg-config with

conda install -c https://conda.anaconda.org/asmeurer pkg-config

However, even then we appear to need to tell conda where the freetype library is located:

export DYLD_FALLBACK_LIBRARY_PATH=/Users/tom/debug/miniconda/lib

To install PyQt5, need:

conda install -c dsdale24 pyqt5
export QT_QPA_PLATFORM_PLUGIN_PATH=$HOME/miniconda3/envs/pyqt5/lib/qt5/plugins/platforms

Note that this build only works with Python 2.7.