-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
We're trying to use pythonx to execute a pre-trained forecasting model. Our app has a few node running on k8s.
Here's our config:
config :pythonx, :uv_init,
pyproject_toml: """
[project]
name = "prophet"
version = "0.0.0"
requires-python = "==3.13.*"
dependencies = [
"prophet>=1.1",
"pandas>=2.3",
"numpy>=2.3"
]
"""
It works when we run it locally and our docker image has python installed.
However trying to run pythonx fails as follows
> Pythonx.eval("print(1)", %{})
** (ArgumentError) decode failed, expected a local pid
It looks like the NIF is checking to see if the node calling Pythonx is on the same node.
Is there a correct way to do this, or are we using it wrong?
Metadata
Metadata
Assignees
Labels
No labels