python - Installing ipython qtconsole mac osx - can't find pyqt on system -
i have followed following steps in order set data science environment on laptop, running osx yosemite 10.10.3.
when enter suggested command @ end of guide "ipython qtconsole" error message suggests pyqt not installed / not exist looking it:
" importerror: not load requested qt binding. please ensure pyqt4 >= 4.7, pyqt5 or pyside >= 1.0.3 available, , 1 imported per session.
currently-imported qt library: none pyqt4 installed: false pyqt5 installed: false pyside >= 1.0.3 installed: false tried load: ['pyside', 'pyqt', 'pyqt5']" i have installed these formulas using brew:
brew install qt brew install sip brew install pyqt and have confirmed installed running command
brew list and confirmed in outputted list. should have version of pyqt installed. after installing pyqt got following message output:
==> caveats phonon support broken.
python modules have been installed , homebrew's site-packages not in python sys.path, not able import modules formula installed. if plan develop these modules, please run:
mkdir -p echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> homebrew.pth which did.
so not sure how proceed, need tell ipython location of pyqt on system assume, not sure how this.
i added 2 more steps , happily using qtconsole.
sudo pip install pyside pyside_postinstall.py -install it worked me on osx 10.10.
source: pyside module docs docs
Comments
Post a Comment