Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython Notebook not opening; throws "Symbol Not Found" error

I can't seem to open IPython Notebook from terminal. I receive the following error:

self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/Username/anaconda/lib/python2.7/site-packages/zmq/libzmq.so, 10): Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE
  Referenced from: /Users/Username/anaconda/lib/python2.7/site-packages/zmq/libzmq.so
  Expected in: dynamic lookup

Does anyone have suggestions for solutions? There is a thread on Conda's Google Group without any replies.

IPython runs in the terminal with $ Ipython. $ Ipython notebook is giving the issue.

like image 657
Union find Avatar asked Jun 12 '26 09:06

Union find


2 Answers

I needed to completely uninstall and reinstall Anaconda.

I deleted all Anaconda directories (both for specific users and at root). I then downloaded Anaconda from Continuum's website and reinstalled. It works now.

like image 131
Union find Avatar answered Jun 13 '26 22:06

Union find


You probably could have fixed it with conda install -f pyzmq.

like image 44
asmeurer Avatar answered Jun 13 '26 23:06

asmeurer