Skip to main content

Questions tagged [external-language-cell]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 views

Using ExternalObjects for python iterators

Iterators are a common pattern in python. A trivial example is: example = iter(("apple", "banana", "cherry")) next(example) (yes, of ...
Joshua Schrier's user avatar
0 votes
1 answer
40 views

What is the fastest way to change Python environment?

We can see all registered Python environments through FindExternalEvaluators["Python"]. But the user interface will use the last registered one. How to ...
Alexey Golyshev's user avatar
1 vote
0 answers
34 views

How to decide which evaluator is used by ExternalLanguage Cell for a particular language?

By default when I start an ExternalLanguage cell for Shell it starts powershell.exe. Even ...
user13892's user avatar
  • 9,443
0 votes
0 answers
115 views

Where is the Python distribution pre-installed with Wolfram?

I am using the latest version 13.3, does Wolfram comes preinstalled with a python kernel/distribution? I heard that some of the currently working features like sqlite connectivity uses python code, so ...
user13892's user avatar
  • 9,443
1 vote
0 answers
73 views

Why do I fail to use python in Mathematica?

I have installed the required python package zmq as shown below. But when I tried it in Mathematica, it failed. I am currently using Mathematica 13 as well as ...
youthdoo's user avatar
  • 239
2 votes
0 answers
57 views

How to make my own external language cell evaluator

We can type > and select python to insert python external language cell into notebook. Then we can write python code inside it and evaluate it by pressing ...
azerbajdzan's user avatar
  • 18.9k
3 votes
1 answer
144 views

Missing dependencies for NodeJS reported by FindExternalEvaluators["NodeJS"]

I am setting up NodeJS for use as an external evaluator in Mathematica 13.1 and am getting a message about missing dependencies. I am following the steps in the Workflow documented at ...
Doug Kimzey's user avatar
  • 2,279
1 vote
0 answers
65 views

What are ExternalLanguage cells good for? [closed]

You can type > at the beginning of a cell (or right click and choose "insert new cell" - "ExternalLanguage") and then you can choose the ...
azerbajdzan's user avatar
  • 18.9k
0 votes
0 answers
67 views

Error while using External Evaluator (Python)

In the above screenshot, I've shared the installed and registered version of python. However, when I try to use it, it ends up with an error. ...
user444's user avatar
  • 2,456
5 votes
1 answer
99 views

How to get the programming language icons used the external evaluation cells?

How to get the language icons used in the external language evaluation cells? Here is a screenshot of the cells:
Anton Antonov's user avatar
3 votes
0 answers
415 views

Can Mathematica be used as a proof assistant?

Mathematica have an extensive gallery of mathematical results, as well as a strong rule-based deduction system. Since v12.*, automated proving features have been added to it too. I believe for ...
Gravifer's user avatar
  • 872
1 vote
0 answers
75 views

How to run Facebook Prophet in Mathematica?

I would like to use the Facebook Prophet API for timeseries forecasting in Mathematica. I'm trying to make a function prophetM which takes a list of date, and integer pairs (or a Timeseries object), ...
MathematicaUser's user avatar
3 votes
1 answer
396 views

How to use Python's input() with External Evaluation?

I want to use input() in Python code which runs in the Wolfram Notebook. So I create an external evaluation cell by typing ">" and choosing Python. Then I define this function: ...
iav's user avatar
  • 2,016
1 vote
1 answer
601 views

Pressing the "enter" key in the Python External Evaluation cell becomes "run" instead of "line break"

I have met problem in the use of style sheet. In using the External Evaluation of Python in Mathematica, If we choose the style sheet as "Default", pressing the "Enter" will cause ...
Knife Lee's user avatar
  • 149
5 votes
0 answers
65 views

How to install node modules for external evaluation?

I was hoping for some extra clarity configuring additional modules for use in external evaluation, since there's no mention of this in the the nodejs workflow. It seems mathematica looks only at <...
M.R.'s user avatar
  • 31.6k
3 votes
0 answers
61 views

How to use ExternalEvaluate in ResourceFunction?

Are there any working examples or best practices for writing ResourceFunction that package or depend on external language code (and package dependencies) through <...
M.R.'s user avatar
  • 31.6k
14 votes
2 answers
426 views

How to set default version for an external language code cell?

This example is for Python but I would like to set this option for any external language. I have a couple of versions of Python installed. ...
Edmund's user avatar
  • 42.4k
6 votes
0 answers
167 views

How to monitor progress with external language code?

I'm trying to figure out how to get tqdm (a python progress monitoring tool) to work with ExternalEvaluate and "ExternalLanguage"...
M.R.'s user avatar
  • 31.6k
3 votes
0 answers
82 views

Auto-completion for Python commands in console of Mathematica notebooks [closed]

A great feature introduced in Mathematica v11.3 is the embedded external language cell: https://www.wolfram.com/language/12/external-system-integration/evaluate-python-in-a-notebook.html?product=...
sunt05's user avatar
  • 4,367