From b1413a6c7fbfcbe7036a12b788f0cdfce729a105 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Tue, 1 Oct 2024 19:12:11 +0200 Subject: [PATCH] Update instructions on creating a virtual env (#3724) 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 d785b7ebc..4c70af129 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