I have jupyter installed on an ubuntu linux machine using Anaconda with 
Python 3. I also installed pypy and pypy3 on the ubuntu linux machine and 
configured them as kernels for the Jupyter notebook. When I open a notebook 
I am able to switch between the 3 kernels, namely Python3 , PyPy and PyPy3. 
The problem I am having is that the following import statement fails when 
PyPy is configured as the kernel for the notebook.

from test import *

executing this line in a notebook cell fails when PyPy is the kernel for 
the notebook, but it works fine when the notebook is configured to have the 
PyPy3 kernel or the Python3 kernel. It also works fine when Python2 is the 
kernel. The contents of the test.py file is the following.

import IPython
from IPython.core.display import Javascript
display(Javascript("""console.log('hello')"""))
a = 1
display(a)

When I execute the cell containing

from test import *

when PyPY is the kernel the cell execution never completes and the * symbol 
remains displayed to the left of the cell indefinitely.


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d3b91bfb-e8f3-49ca-8897-0e04b686c738%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to