Get help from the marimo community

Updated 2 months ago

Using marimo with uv causes circular import error.

At a glance

The community member is experiencing an ImportError when trying to use the marimo library, specifically an issue with the TreeArgumentsWrapper import from jedi.inference.arguments. The issue occurs when using marimo or ipykernel or jupyterlab, but the community member notes that marimo and jupyterlab work fine when installed using pip.

I did following

  • uv init
  • uv venv
  • source .venv/bin/activate
  • uv add marimo (same problem if using ipykernel or jupyterlab)
  • Open marimo and getting this error:
ImportError: Cannot import 'TreeArgumentsWrapper' from 'jedi.inference.arguments' due to circular import.

marimo and jupyterlab works fine when installed and using with pip.
Add a reply
Sign up and join the conversation on Discord