1. Can you confirm that J does run on your machine, i.e. the following should load J;
../JDemo/J805/bin/jconsole 2. Line 19 has "ModuleNotFoundError: No module named 'contextvars'" This looks like a Python problem, perhaps a mismatch between the download and your local copy of python? The download is a little old and may need updating. On Sat, Aug 22, 2020 at 10:41 AM Francesco Pedulla' <mel...@gmail.com> wrote: > > Dear all, > I cannot run J in a Jupyter notebook. > Following the instructions at > https://code.jsoftware.com/wiki/Guides/Jupyter, I: > > 1. downloaded the 64bit compressed tar file for Linux > 2. unpacked it under my home directory on a Ubuntu 18 desktop machine > 3. cd to the new directory (/home/francesco/JDemo) > 4. run the jupyter-notebook.sh script > 5. in the freshly opened browser window (http://localhost:8888/tree), > selected New->J > 6. waited while the kernel was starting and jupyter tried to connect to > it > 7. give up after jupyter repeatedly failed to connect to the J kernel > (see attached stderr output). > > The error about the NaCl helper process at line 10 shows up also in another > installation of jupyter, on the same machine, where both python and > sagemath run fine. Hence, I believe it should be the reason for the > failure. > Error on line 19 looks more promising, but I am not sure how to interpret > it - even less how to fix it. > Any hint? > Thanks in advance, > > Francesco > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm