Message Boards Message Boards

Import .nb file through Jupyter into Wolfram Engine?

Posted 3 years ago

I managed to install Wolfram Engine and Jupyter and I can write Mathematica code, also I can get nice results and I can draw elegant plots. But even I tried so many functions and their combinations of parameters I could not manage to import any .nb file from local disk or a remote source:

I expected this to work:

File1 = NotebookOpen[ "C:\any_nb_file.nb"]; 
SelectionMove[File1, All, Notebook] 
SelectionEvaluate[File1]

I also tried

NotebookOpen[ URL["any_nb_file.nb"]]

Also I think it is legal to use Wolfram engine and Jupyter because of this post:

https://community.wolfram.com/groups/-/m/t/1887758?p_p_auth=UlJXJ3My

if not please let me know.

Thanks for reading.

POSTED BY: Merve Temizer
2 Replies
Posted 2 years ago

how to convert maple file to mathmatica with same result ?

POSTED BY: Ghaida Abd
Posted 3 years ago

It is legal: Jupyter notebook integration for the Wolfram Engine is maintained by WRI on the main Wolfram GitHub.

Maybe try importing a notebook with the "Import" function? "Import" works for me on the wolfram script CLI.

The "NotebookOpen" function does not seem to work for me on the CLI:

NotebookOpen["test.nb"]

gives me

FrontEndObject::notavail: 
   A front end is not available; certain operations require a front end.

Out[1]= $Failed
POSTED BY: Alec Graves
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract