marimo icon indicating copy to clipboard operation
marimo copied to clipboard

keep installing packages already installed

Open ericYH01 opened this issue 1 year ago • 2 comments

Describe the bug

When running cell, mo poped up an installation window suggesting package notinstalled. After installation (within the editor, or external), the window keeps show up. image Installing package as suggested: image the window shows again. image

Environment

ubuntu 22.04. Running in a conda virtualenv.

Code to reproduce

Import necessary libraries for the project

import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import random import gc

Import PyTorch Geometric libraries

import torch_geometric.transforms as T import torch_geometric.utils from torch_geometric.datasets import Planetoid from torch_geometric.utils import spmm

ericYH01 avatar Jul 05 '24 06:07 ericYH01

Thanks for reporting. I tried to reproduce but couldn't unfortunately.

@ericYH01 , any more information you can share? For example, how did you install marimo into the conda env? And did you use the defaut pip installer to install the packages? Finally, what do you see in the your terminal window during this process, if anything?

akshayka avatar Jul 05 '24 17:07 akshayka

to make things easier, I recreate a new virtualenv (miniconda) 擷取選取區域_003

then start marimo in headless mode

$ marimo edit --headless --host 0.0.0.0 --port 7071 --no-token

https://github.com/marimo-team/marimo/assets/83878418/d9c2c519-f6d3-4c38-a036-fe3ea9b4773b

擷取選取區域_001 擷取選取區域_002

besides, I'd tried on windows-based edge browser, and ubuntu-desktop-based Chrome browser. The situation still happened. However, it works fine when running the same code on local marimo.


Two more interesting things indicate it seems actually installed.

擷取選取區域_004 IMG_20240706_121834

ericYH01 avatar Jul 06 '24 04:07 ericYH01

@ericYH01 are you still seeing this? there has been some changes to auto-installation

mscolnick avatar Sep 13 '24 20:09 mscolnick

Going to close this, @ericYH01 please re-open if you are still seeing this issue.

mscolnick avatar Sep 19 '24 03:09 mscolnick