A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Use `click.ClickException` for sandbox missing pyzmq error (#8347)
Trevor Manzf550d8d7e5b5
diff --git a/marimo/_cli/cli.py b/marimo/_cli/cli.pyindex 1b9c5b765d..dfb80512de 100644--- a/marimo/_cli/cli.py+++ b/marimo/_cli/cli.py@@ -517,7 +517,7 @@ def edit(from marimo._dependencies.dependencies import DependencyManagerif not DependencyManager.zmq.has():- raise click.UsageError(+ raise click.ClickException("pyzmq is required when running the marimo edit server on a directory with --sandbox.\n""Install it with: pip install 'marimo[sandbox]'\n""Or: pip install pyzmq"@@ -1117,7 +1117,7 @@ def run(from marimo._dependencies.dependencies import DependencyManagerif not DependencyManager.zmq.has():- raise click.UsageError(+ raise click.ClickException("pyzmq is required when running a gallery with --sandbox.\n""Install it with: pip install 'marimo[sandbox]'\n""Or: pip install pyzmq"