[Linuxppc-users] Jupyter Notebook on RHEL 7.2
Sridhar Satyanarayan
sridhars at us.ibm.com
Fri Jun 23 23:26:02 AEST 2017
I have seen similar problem when loading modules under Python2.7 if Python
3 is also installed. This is what I did
python2 -m pip install ipykernel
python2 -m ipykernel install --user
point PYTHONPATH to appropriate location
restart jupyter, After which I was able to run notebook without any issues
Thanks & Regards
Sridhar Satyanarayan
Certified Expert IT Consultant
Lab Services Power Systems Delivery Practice
IBM Systems & Technology Group
Phone: +1-720-342-5346
Mobile: +1-720-340-0173
e-mail: sridhars at us.ibm.com
From: "Franck Barillaud" <fbarilla at us.ibm.com>
To: linuxppc-users at lists.ozlabs.org
Date: 06/22/2017 06:06 PM
Subject: [Linuxppc-users] Jupyter Notebook on RHEL 7.2
Sent by: "Linuxppc-users" <linuxppc-users-bounces
+sridhars=us.ibm.com at lists.ozlabs.org>
System: Virtual Machine running RHEL 7.2 on Ubuntu 16.04 KVM on Firestone.
Starting jupyter leads to the following error:
[root at rhel72hdp26sn frb]# jupyter notebook --allow-root
Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/usr/lib/python2.7/site-packages/notebook/notebookapp.py", line 39,
in <module>
from zmq.eventloop import ioloop
File "/usr/lib64/python2.7/site-packages/zmq/__init__.py", line 34, in
<module>
from zmq import backend
File "/usr/lib64/python2.7/site-packages/zmq/backend/__init__.py", line
40, in <module>
reraise(*exc_info)
File "/usr/lib64/python2.7/site-packages/zmq/backend/__init__.py", line
27, in <module>
_ns = select_backend(first)
File "/usr/lib64/python2.7/site-packages/zmq/backend/select.py", line 26,
in select_backend
mod = __import__(name, fromlist=public_api)
File "/usr/lib64/python2.7/site-packages/zmq/backend/cython/__init__.py",
line 6, in <module>
from . import (constants, error, message, context,
ImportError: /usr/lib64/python2.7/site-packages/zmq/backend/cython/error.so:
undefined symbol: zmq_strerror
Jupyter installation:
wget
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
yum install python-pip
pip install --upgrade pip
pip install jupyter
Any idea ?
Regards,
Franck Barillaud
STSM, CTO ISV Power Cloud Infrastructure
Master Inventor
Ext Phone: (512) 286-5242 Tie Line: 363-5242
e-mail: fbarilla at us.ibm.com
_______________________________________________
Linuxppc-users mailing list
Linuxppc-users at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170623/5c1026d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170623/5c1026d1/attachment.gif>
More information about the Linuxppc-users
mailing list