From a9df6999415d1a01548a2db45af1ade75bbd7f91 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 23 Sep 2024 22:03:34 +0000 Subject: [PATCH] Update instructions on creating a virtual env The `python` command is only available on Ubuntu if the `python-is-python3` package is installed, see https://packages.ubuntu.com/jammy/python-is-python3 and https://packages.ubuntu.com/jammy/all/python-is-python3/filelist. As Python 2 isn't supported anyway, it's safe to point to `python3` here instead. --- docs/development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development.md b/docs/development.md index 771c4fcbef0e..74af74ac3ae7 100644 --- a/docs/development.md +++ b/docs/development.md @@ -14,7 +14,7 @@ While this is running, you can already setup the Python venv and dependencies in ## Setup your Python VirtualEnvironment and Dependencies ```shell -python -m venv mlir_venv +python3 -m venv mlir_venv source mlir_venv/bin/activate # Some older pip installs may not be able to handle the recent PyTorch deps python -m pip install --upgrade pip