Okay I figured out the problem. It all had to do with my $PATH variable. I use the Anaconda package from Continuum.io for scientific python--great package btw. So Anaconda will update the $PATH variable so that its version of the python binaries comes first in the $PATH and hence is the one that pip
acts against. I knew that Ipython did this with Anaconda, but not the python
too. So when I was updating pyzmq with pip
, that was updating the Anaconda distribution instead of the normal locally installed python install in /usr/bin/ ...
Interestingly, SublimeREPL was trying to invoke the REPL against the python install in /usr/bin/...
instead of just following the normal $PATH variable reference to the Anaconda distribution. I am still not sure how that happened?
So anyway, when I used the easy_install
package installer to upgrade pyzmq
instead of pip
, then this updated the python install in /usr/bin/...
instead of the Anaconda version. That resolved the problem.
So now SublimeREPL is working.