- Try starting the IPython qtconsole:
python qtconsole
and learn that I'm missing all kinds of dependencies. - Try to install pyqt using pip:
pip install pyqt
and learn that the egg for pyqt is broken. - Try to build pyqt using the files that pip installed
python configure.py
and learn that pyqt depends on sip. - Try to install sip using pip(!):
pip install sip
and learn that the sip egg is broken in the same way as pyqt - Install sip using the files that pip downloaded:
python configure.py
make
make install
This actually works. - Try to build pyqt again:
python configure.py
and learn that I need the Qt SDK. This one is my fault. - Install Qt from the Nokia website
- Repeat step 6, find that for some reason qmake was not installed.
- Uninstall Qt
- Uninstall sip
- Install Homebrew
- Try to install pyqt:
brew install pyqt
which successfully installs Qt, but fails because it can't link to the right version of Python, which I have somehow accumulated 4 different installations of - Install python through homebrew:
brew install python
This fails sip has hard coded the location of the old, broken framework. - Uninstall sip.
brew remove sip - Try to install pyqt:
brew install pyqt
This still fails. No idea why.
9.22.2011
IPython dependencies
IPython has some nifty features, but since IPython is still in development, they are awfully hard to get running, at least on OS X. Compounding this is the dependency on Qt for the cool new features to work. Qt isn't the most seamless package to get installed and running. I'm not complaining at all. I just want to list all the steps that I went through to get the Qt console working.
Labels:
programming,
python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment