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.
pull/3753/head
Marius Brehler 2024-10-01 19:12:11 +02:00 committed by GitHub
parent 5eab669c4a
commit b1413a6c7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ While this is running, you can already setup the Python venv and dependencies in
## Setup your Python VirtualEnvironment and Dependencies ## Setup your Python VirtualEnvironment and Dependencies
```shell ```shell
python -m venv mlir_venv python3 -m venv mlir_venv
source mlir_venv/bin/activate source mlir_venv/bin/activate
# Some older pip installs may not be able to handle the recent PyTorch deps # Some older pip installs may not be able to handle the recent PyTorch deps
python -m pip install --upgrade pip python -m pip install --upgrade pip