Last active
April 20, 2017 05:51
-
-
Save surhudm/3cb8d7c11e0e354f418cd2e0e4d78260 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For linux: | |
Install python-pyside using your system package manager | |
bash $ sudo apt install python-pyside | |
Or | |
bash $ sudo dnf install python-pyside | |
If you do not have root permissions, even the following may work | |
bash $ pip install --user pyside | |
Then install the getdist version I have modified: | |
bash $ pip install --user git+https://github.com/surhudm/getdist.git | |
This should install GetDistGUI.py to $HOME/.local/bin | |
bash $ export PATH=$PATH:$HOME/.local/bin | |
The following should work: | |
bash $ GetDistGUI.py | |
For MacOSX, it is a bit more involved | |
Install QT using brew | |
brew install [email protected] openssl cmake pyqt | |
Then install pyside: | |
git clone --recursive https://codereview.qt-project.org/pyside/pyside-setup | |
CXXFLAGS=-std=c++11 python setup.py bdist_wheel --ignore-git --qmake=/usr/local/Cellar/qt/5.8.0_2/bin/qmake --cmake=/usr/local/bin/cmake --openssl=/usr/local/Cellar/openssl/1.0.2k/bin/ | |
You may have to change the directory names above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment