Skip to content

pixi and pixi sandbox with new script kernel will fail #11170

Description

@emelbaer

Describe the bug

issue

starting marimo with pixi (pixi.dev) by a given (not existing) playbook name - let the kernel not start:
Kernel exited during startup (exit code 0).

Where on Terminal i see:
Preparing sandbox: '~\AppData\Local\pixi\bin\pixi.EXE' add --script '.\my_script.py' --pypi marimo
Synchronizing sandbox: '~\AppData\Local\pixi\bin\pixi.EXE' install --script '.\my_script.py'
Running kernel in script environment: ~\AppData\Local\rattler\cache\cached-envs-v0\3d-sensor-calib-6c2e3317d28493d3\envs\default
WARN ignoring SSL_CERT_DIR: no certificates found in ~\AppData\Local\rattler\cache\cached-envs-v0\marimo-fdab1b7fd34bbd0a\Library\ssl\certs
[E 261009 21:36:24 ws_endpoint:261] Kernel startup failed: Kernel exited during startup (exit code 0).
[E 261009 21:36:34 load:204] Notebook .\my_script.py is not a valid marimo notebook.
(note: the pathes are trunced)

The "automatically" created playbook (py file):

# /// script
# dependencies = ["marimo"]
# ///

how to reproduce

PS> pixi init
PS> pixi add python marimo
PS> pixi exec marimo edit --sandbox=pixi my_script.py

environment details

{
"marimo": "0.25.1",
"editable": false,
"location": "~/AppData/Local/uv/cache/archive-v0/WskMXq-qlA3QQSju/Lib/site-packages/marimo",
"OS": "Windows",
"OS Version": "11",
"Processor": "Intel64 Family 6 Model 142 Stepping 10, GenuineIntel",
"Python Version": "3.14.8",
"Locale": "de_DE",
"Binaries": {
"Browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36",
"Node": "v20.5.1",
"uv": "0.12.24 (x86_64-pc-windows-msvc)"
},
"Dependencies": {
"click": "8.5.0",
"docutils": "0.23",
"itsdangerous": "2.2.0",
"jedi": "0.20.0",
"markdown": "3.11",
"narwhals": "2.26.0",
"packaging": "26.3",
"psutil": "7.2.2",
"pygments": "2.21.0",
"pymdown-extensions": "11.0.2",
"pyyaml": "6.0.3",
"starlette": "1.7.0",
"tomlkit": "0.15.1",
"typing-extensions": "4.16.0",
"uvicorn": "0.54.0",
"websockets": "17.2"
},
"Optional Dependencies": {
"loro": "1.16.2",
"python-lsp-ruff": "2.3.4",
"python-lsp-server": "1.15.0",
"ruff": "0.16.10"
},
"Experimental Flags": {}
}ent log

Will you submit a PR?

  • Yes

Environment

Environment
{
  "marimo": "0.25.1",
  "editable": false,
  "location": "~/AppData/Local/uv/cache/archive-v0/WskMXq-qlA3QQSju/Lib/site-packages/marimo",
  "OS": "Windows",
  "OS Version": "11",
  "Processor": "Intel64 Family 6 Model 142 Stepping 10, GenuineIntel",
  "Python Version": "3.14.8",
  "Locale": "de_DE",
  "Binaries": {
    "Browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36",
    "Node": "v20.5.1",
    "uv": "0.12.24 (x86_64-pc-windows-msvc)"
  },
  "Dependencies": {
    "click": "8.5.0",
    "docutils": "0.23",
    "itsdangerous": "2.2.0",
    "jedi": "0.20.0",
    "markdown": "3.11",
    "narwhals": "2.26.0",
    "packaging": "26.3",
    "psutil": "7.2.2",
    "pygments": "2.21.0",
    "pymdown-extensions": "11.0.2",
    "pyyaml": "6.0.3",
    "starlette": "1.7.0",
    "tomlkit": "0.15.1",
    "typing-extensions": "4.16.0",
    "uvicorn": "0.54.0",
    "websockets": "17.2"
  },
  "Optional Dependencies": {
    "loro": "1.16.2",
    "python-lsp-ruff": "2.3.4",
    "python-lsp-server": "1.15.0",
    "ruff": "0.16.10"
  },
  "Experimental Flags": {}
}

Code to reproduce

PS> pixi init
PS> pixi add python marimo
PS> pixi exec marimo edit --sandbox=pixi my_script.py

Activity

  1. added theissue type on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions