<html><body><p><font size="2">I have seen similar problem when loading modules under Python2.7 if Python 3 is also installed. This is what I did </font><br><br><br><font size="2">python2 -m pip install ipykernel</font><br><font size="2">python2 -m ipykernel install --user</font><br><br><br><font size="2">point PYTHONPATH to appropriate location</font><br><font size="2">restart jupyter, After which I was able to run notebook without any issues</font><br><font size="2"><br><br>Thanks & Regards<br><br></font><font size="2" face="Default Sans Sarif">Sridhar Satyanarayan</font><br><font size="2" color="#0000FF" face="Default Sans Sarif">Certified Expert IT Consultant</font><br><font size="2" face="Default Sans Sarif">Lab Services Power Systems Delivery Practice</font><br><font size="2" face="Default Sans Sarif">IBM Systems & Technology Group</font><br><font size="2" face="Default Sans Sarif">Phone: +1-720-342-5346 </font><br><font size="2" face="Default Sans Sarif">Mobile: +1-720-340-0173 </font><br><font size="2" face="Default Sans Sarif">e-mail: sridhars@us.ibm.com</font><font size="2"><br></font><br><br><img width="16" height="16" src="cid:1__=8FBB0BDBDFDAF00B8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for "Franck Barillaud" ---06/22/2017 06:06:38 PM---System: Virtual Machine running RHEL 7.2 on Ubuntu 16."><font size="2" color="#424282">"Franck Barillaud" ---06/22/2017 06:06:38 PM---System: Virtual Machine running RHEL 7.2 on Ubuntu 16.04 KVM on Firestone. Starting jupyter leads to</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">"Franck Barillaud" <fbarilla@us.ibm.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">linuxppc-users@lists.ozlabs.org</font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">06/22/2017 06:06 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">[Linuxppc-users] Jupyter Notebook on RHEL 7.2</font><br><font size="2" color="#5F5F5F">Sent by: </font><font size="2">"Linuxppc-users" <linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font size="2">System: Virtual Machine running RHEL 7.2 on Ubuntu 16.04 KVM on Firestone.</font><br><font size="2"><br>Starting jupyter leads to the following error:</font><br><font size="2" face="Courier New"><br>[root@rhel72hdp26sn frb]# jupyter notebook --allow-root<br>Traceback (most recent call last):<br> File "/usr/bin/jupyter-notebook", line 7, in <module><br> from notebook.notebookapp import main<br> File "/usr/lib/python2.7/site-packages/notebook/notebookapp.py", line 39, in <module><br> from zmq.eventloop import ioloop<br> File "/usr/lib64/python2.7/site-packages/zmq/__init__.py", line 34, in <module><br> from zmq import backend<br> File "/usr/lib64/python2.7/site-packages/zmq/backend/__init__.py", line 40, in <module><br> reraise(*exc_info)<br> File "/usr/lib64/python2.7/site-packages/zmq/backend/__init__.py", line 27, in <module><br> _ns = select_backend(first)<br> File "/usr/lib64/python2.7/site-packages/zmq/backend/select.py", line 26, in select_backend<br> mod = __import__(name, fromlist=public_api)<br> File "/usr/lib64/python2.7/site-packages/zmq/backend/cython/__init__.py", line 6, in <module><br> from . import (constants, error, message, context,<br>ImportError: /usr/lib64/python2.7/site-packages/zmq/backend/cython/error.so: undefined symbol: zmq_strerror</font><br><font size="2"><br>Jupyter installation:</font><br><font size="2" face="Courier New"><br> wget </font><a href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"><u><font size="2" color="#000080" face="Courier New">https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</font></u></a><font size="2" face="Courier New"><br> rpm -ivh epel-release-latest-7.noarch.rpm <br> yum install python-pip</font><p><font size="2" face="Courier New"> pip install --upgrade pip</font><p><font size="2" face="Courier New"> pip install jupyter</font><p><font size="2"><br>Any idea ?<br><br>Regards,<br>Franck Barillaud<br>STSM, CTO ISV Power Cloud Infrastructure<br>Master Inventor<br>Ext Phone: (512) 286-5242 Tie Line: 363-5242<br>e-mail: fbarilla@us.ibm.com</font><br><tt><font size="2">_______________________________________________<br>Linuxppc-users mailing list<br>Linuxppc-users@lists.ozlabs.org<br></font></tt><tt><font size="2"><a href="https://lists.ozlabs.org/listinfo/linuxppc-users">https://lists.ozlabs.org/listinfo/linuxppc-users</a></font></tt><tt><font size="2"><br></font></tt><p><p><BR>
</body></html>