[Mlir-commits] [mlir] [mlir][docs] Migrate code examples to nanobind, make Python spelling … (PR #163933)

Maksim Levental llvmlistbot at llvm.org
Fri Oct 24 14:42:05 PDT 2025


================
@@ -46,11 +61,13 @@ source ~/.venv/mlirdev/bin/activate
 # It is recommended to upgrade pip:
 python -m pip install --upgrade pip
 
-
 # Now the `python` command will resolve to your virtual environment and
 # packages will be installed there.
 python -m pip install -r mlir/python/requirements.txt
 
+# In a uv-generated virtual environment, you can instead run:
+uv pip install -r mlir/python/requirements.txt
----------------
makslevental wrote:

just curious - the `uv` prefix is necessary even after `source ~/.venv/mlirdev/bin/activate`?

https://github.com/llvm/llvm-project/pull/163933


More information about the Mlir-commits mailing list