mirror of https://github.com/llvm/torch-mlir
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
parent
5eab669c4a
commit
b1413a6c7f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue