marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Why can't I find how to make Marimo consider the current venv where I have my packages??

Open younes-io opened this issue 7 months ago • 1 comments

Describe the bug

Image

Environment

 marimo env
{
  "marimo": "0.13.0",
  "OS": "Windows",
  "OS Version": "11",
  "Processor": "Intel64 Family 6 Model 183 Stepping 1, GenuineIntel",
  "Python Version": "3.11.9",
  "Binaries": {
    "Browser": "135.0.7049.115",
    "Node": "v22.14.0"
  },
  "Dependencies": {
    "click": "8.1.8",
    "docutils": "0.21.2",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.8",
    "narwhals": "1.35.0",
    "packaging": "24.2",
    "psutil": "7.0.0",
    "pygments": "2.19.1",
    "pymdown-extensions": "10.14.3",
    "pyyaml": "6.0.2",
    "starlette": "0.46.2",
    "tomlkit": "0.13.2",
    "typing-extensions": "4.13.2",
    "uvicorn": "0.34.2",
    "websockets": "15.0.1"
  },
  "Optional Dependencies": {
    "pycrdt": "0.11.1",
    "ruff": "0.11.6"
  },
  "Experimental Flags": {}
}
(venv) PS C:\Users\XXXXXXXXXXX\Documents\dev\pytorch>```

</details>


### Code to reproduce

_No response_

younes-io avatar Apr 27 '25 11:04 younes-io

You need to start marimo from the virtual environment you'd like it to use.

If you've accidentally installed marimo globally, it will use a different Python interpreter from the one in your virtual environment.

You can check if you've accidentally installed marimo globally by running (on Unix-like systems)

which marimo

at the command-line, or for Windows I believe it's

where marimo

akshayka avatar Apr 27 '25 23:04 akshayka