Skip to content

Conversation

@dmadisetti
Copy link
Collaborator

📝 Summary

Let's user specify:

[tool.marimo.env]
conda = "conda_name"
# OR
python = "<path>"

Which will relaunch with the given environmental variables

With marimo edit --sandbox working I think this path will be tweaked, but proof of concept works for now.

@vercel
Copy link

vercel bot commented Dec 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
marimo-docs Ready Ready Preview, Comment Dec 29, 2025 1:55pm

Comment on lines +111 to +112
- `use_active`: if `True`, use the currently active environment
(from VIRTUAL_ENV or CONDA_PREFIX environment variables)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed as discussed

LOGGER.debug(f"Failed to read env config from notebook: {e}")

# Check project-level config ([tool.marimo.env] in pyproject.toml)
try:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe doesn't make sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants