WolframResearch / WolframLanguageForJupyter

Wolfram Language kernel for Jupyter notebooks
MIT License
1.05k stars 126 forks source link

Not working with Wolfram Language 11.3 on Linux (Debian, CentOS) #1

Closed Ludwiggle closed 5 years ago

Ludwiggle commented 5 years ago

Is it tested on LInux? I tried on Debian 9 and the installation does not give me errors, indeed I can create a new jupyter notebook with the Wolfram Langue 11.3 and the kernel starts but I cannot evaluate any expression; the terminal where I start jupyter tells me " Timeout waiting for kernel_info reply from" . Thanks

GarrettND commented 5 years ago

It has been tested on Linux, but it's possible there are still issues for some distributions. We will take a look at that combination of Debian and 11.3 to see if we can fix the issue.

arnoudbuzing commented 5 years ago

I see the same problem with Mathematica 11.3 on CentOS 7:

[arnoudb@arnoudcentoslx WolframLanguageForJupyter]$ jupyter notebook
[I 14:26:37.629 NotebookApp] Serving notebooks from local directory: /home/arnoudb/git/WolframLanguageForJupyter
[I 14:26:37.629 NotebookApp] The Jupyter Notebook is running at:
[I 14:26:37.629 NotebookApp] http://localhost:8888/?token=82639957c174a2b1769bcf90329e63989505f437517256c8
[I 14:26:37.629 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:26:37.633 NotebookApp] 

    To access the notebook, open this file in a browser:
        file:///run/user/10930/jupyter/nbserver-22313-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=82639957c174a2b1769bcf90329e63989505f437517256c8
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.

Opening in existing browser session.
[I 14:26:44.075 NotebookApp] Creating new notebook in 
[I 14:26:44.642 NotebookApp] Kernel started: 2c8f638e-4790-42e1-bc2e-8d8d8f3d1783
[W 14:27:44.657 NotebookApp] Timeout waiting for kernel_info reply from 2c8f638e-4790-42e1-bc2e-8d8d8f3d1783
arnoudbuzing commented 5 years ago

version 12 is working on Linux:

image

Ludwiggle commented 5 years ago

Ok now it "works", but what if you write two expressions in a cell like 2+2 3+3

? That does not return anything

arnoudbuzing commented 5 years ago

This can be closed now?

Ludwiggle commented 5 years ago

Now as soon as I open a notebook the CPU goes 100% without evaluating anything. It evaluates expressions but there's a Mathematica process that keeps on taking 100% CPU

Ludwiggle commented 5 years ago

Still high CPU usage, not 100% anymore but much higher than Mathematica or command line interface.

cc-wr commented 5 years ago

@Ludwiggle is this okay to close? Have you encountered any further bugs?