On Apr 22, 2017, at 10:46 AM, Murray Eisenberg <[email protected]> wrote:
> 
> Under MacOS Sierra (10.12.4) I’m using anaconda with python 3.6.0. 
> 
> After installing jkernel per instructions at 
> http://code.jsoftware.com/wiki/Scripts/jkernel 
> <http://code.jsoftware.com/wiki/Scripts/jkernel>, I edited its qjide.cfg to 
> point to J806 beta 3.
> 
> Contrary to the instructions on how to run kernel to connect a jupyter 
> notebook to J, I must:
> 
>   (1)  use Anaconda-Navigator.app, not the now-deprecated Anaconda Launcher; 
> 
>   (2) from there, launch application jupyter notebook (4.3.1), apparently the 
> new name for what the jkernel instructions call “ipython-notebook”.
>  
> I then uploaded to the local server that starts the file 
> Rain_Temperature_Interactive.ipnyb.
> 
> 
> At this point I see a “Kernel starting” message but then quickly get a 
> “Kernel restarting” pop-up message, then a “Dead kernel” pop-up message.
> (Specifically, “The kernel has died, and the automatic restart has failed.” 
> And attempting to restart the kernel using the “Try restarting now”button 
> leads to the Dead kernel” error again.
> 
> How fix?


P.S. 

 tried the same run procedure but in Anaconda Navigator switching to the 
setting “Applications on..” to python27. But still same dead kernel.

Here’s the contents of the Terminal window after I start jupyter-noteboo using 
now python 2.7 for the jupyter-notebook application::


Last login: Sat Apr 22 11:06:04 on ttys003
[murray@:~]$ /Applications/Programming/Python/anaconda/bin/jupyter_mac.command 
; exit;
[I 11:09:25.823 NotebookApp] The port 8888 is already in use, trying another 
port.
[I 11:09:25.824 NotebookApp] The port 8889 is already in use, trying another 
port.
[I 11:09:25.824 NotebookApp] The port 8890 is already in use, trying another 
port.
[I 11:09:25.835 NotebookApp] Serving notebooks from local directory: 
/Users/murray
[I 11:09:25.835 NotebookApp] 0 active kernels 
[I 11:09:25.835 NotebookApp] The Jupyter Notebook is running at: 
http://localhost:8891/?token=170267049fcf0b80a3a00e4e9cf3c9382608745bafa9c45c
[I 11:09:25.835 NotebookApp] Use Control-C to stop this server and shut down 
all kernels (twice to skip confirmation).
[C 11:09:25.839 NotebookApp] 
    
    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        
http://localhost:8891/?token=170267049fcf0b80a3a00e4e9cf3c9382608745bafa9c45c
[I 11:09:26.110 NotebookApp] Accepting one-time-token-authenticated connection 
from ::1
[I 11:09:39.308 NotebookApp] Kernel started: 
2b0e1d77-2b7c-47ef-a160-1943da190a99
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
 No module named jkernel
[I 11:09:42.308 NotebookApp] KernelRestarter: restarting kernel (1/5)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
 No module named jkernel
[I 11:09:45.315 NotebookApp] KernelRestarter: restarting kernel (2/5)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
 No module named jkernel
[I 11:09:48.318 NotebookApp] KernelRestarter: restarting kernel (3/5)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
 No module named jkernel
[W 11:09:49.392 NotebookApp] Timeout waiting for kernel_info reply from 
2b0e1d77-2b7c-47ef-a160-1943da190a99
[I 11:09:51.327 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 2b0e1d77-2b7c-47ef-a160-1943da190a99 restarted
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
 No module named jkernel
[W 11:09:54.332 NotebookApp] KernelRestarter: restart failed
[W 11:09:54.332 NotebookApp] Kernel 2b0e1d77-2b7c-47ef-a160-1943da190a99 died, 
removing from map.
ERROR:root:kernel 2b0e1d77-2b7c-47ef-a160-1943da190a99 restarted failed!
[W 11:09:54.339 NotebookApp] Kernel deleted before session
[W 11:09:54.339 NotebookApp] 410 DELETE 
/api/sessions/8490b2af-2e3b-42fd-9670-19d5f088493c (::1) 1.25ms 
referer=http://localhost:8891/notebooks/Rain_Temperature_Interactive.ipynb

——
Murray Eisenberg                                [email protected]
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower      phone 240 246-7240 (H)
University of Massachusetts                
710 North Pleasant Street                 
Amherst, MA 01003-9305




----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to