I am trying to install Python 3.3.2 + ipython 1.0 with qtconsole, all through Homebrew. This requires me to download and install PyQt, which I successfully completed. However, when I try to run $ ipython3 qtconsole, it cannot load PyQt4 - it says that it is not installed. I think the problem may have something to do with adding the correct PYTHONPATH - after installing PyQt, I have some warnings:
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x! PYTHONPATH is currently: "/usr/local/lib/python2.7/site-packages" You should `unset PYTHONPATH` to fix this. For non-homebrew python (2.x), you need to amend your PYTHONPATH like so: export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Also, I don't see the PATH that it underlines in my .profile.
I followed this guide: http://www.lowindata.com/2013/installing-scientific-python-on-mac-os-x/
I tried adding a few different PYTHONPATHs to .profile, but no one works.
Any suggestions or workarounds?
UPDATE: I found PyQt in / usr / local / lib / python 2.7 / site-packages, but I need to install it in / python 3.3 / site-packages .. My PATH is / usr / local / bin and everything else is installed Homebrew in python3.3 except PyQt. How do i get this?
source share