-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magic module installation does not use same virtual environment as Marimo #2498
Comments
When I'm working with Jupyter notebooks I always install packages like this:
Because that way it is guaranteed to use a |
Thanks for reporting; we'll fix this. EDIT: I also can't reproduce. |
@simonw what version of |
uv --version
I'm upgrading it now: uv pip install -U uv
uv --version
And now: uvx marimo new Then: import llm That default And that worked! So there's still a problem here with the default option to use "pip", I think. |
... and now I can't replicate the problem I had with rm -rf ~/.local/share/uv/tools/marimo/
uvx marimo new And this time when I did the So maybe there was something broken in my |
Cool, thanks for reporting back; good to hear that it's at least working now, though like the other issue, I'm not sure how it would have become broken in the first place. I will close this issue for now, but if it shows up again let us know? |
You probably can't install with pip if you are running in a uv venv. Maybe we could figure that out and warn you. |
Describe the bug
I tried running this:
And then clicking the "install module" button. The first time I tried it this seemed to work but then I could not import the module. I think it was installed in the wrong virtual environment.
Worth noting that I had started Marimo using
uvx marimo new
, so it was not running in my system's default environment.Environment
I ran
uvx marimo env
:Code to reproduce
Run this:
Then this:
The text was updated successfully, but these errors were encountered: