Group Abstract Group Abstract

Message Boards Message Boards

A minimalist alternative to WolframLanguageForJupyter

7 Replies

If you use Mathematica mainly for graphics, Jupyter is not for you. A Jupyter interface is great for remote Kernels and Markdown/LaTeX, things that Mathematica does not support that well.

Regarding the black page, is it a problem of safari ? If the out.pdf is properly exported in the JWLout folder but safari does not open it, maybe safari is not well suited to work with Jupyter. As I mention in the description, JWLS is not much more than a couple of fifo on top of a bash_kernel.

Dear murray, try the show function. E.g. Plot3D[Sin[x y],{x,-Pi,Pi},{y,-Pi,Pi}] // show It will return the address of the exported output; if you click it, a new browser tab will open. If your browser does not open the exported graphics, browse into the JWLSout folder in your notebook home folder ; that's a temporary folder with out.pdf of out.png in it. You can keep the out.pdf tab open and refresh it everytime you call again show because it will be overwritten.

POSTED BY: Murray Eisenberg

I installed (under macOS). When I run JWLS.sh, which starts jupyter and allows me to open a new jupyter notebook in my browser and then try to evaluate something simple like 1+1, I get error:

sed: 1: "0~1 a\": invalid command code ~

What's wrong? (I did check the path to wolframscript and inserted the full path for Names.wl.txt in kernel.py.

POSTED BY: Murray Eisenberg

Hi Murray, thanks for your feedback. That is MacOS sed complaining about the use of ~ . A solution is to install gnu-sed: brew install gnu-sed and then replace "sed" with "gsed" at line 164 of kernel.py .

Posted 6 years ago
POSTED BY: Updating Name

enter image description here - Congratulations! This post is now featured in our Staff Pick column as distinguished by a badge on your profile of a Featured Contributor and these will help to promote your work! We copied your .md doc file into your post. Posts in Staff Picks should have detailed presentation, - if you could edit and add anything to the current post (for instance, examples of usage) -- that would be great. Thank you, keep it coming!

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard