mirror of https://github.com/llvm/torch-mlir
Update development.md (#3314)
Add a command for installing the `python-dev` package --------- Co-authored-by: Jakub Kuderski <kubakuderski@gmail.com>pull/3328/head
parent
e0a87e543e
commit
2c9c763191
|
@ -13,9 +13,6 @@ While this is running, you can already setup the Python venv and dependencies in
|
|||
|
||||
## Setup your Python VirtualEnvironment and Dependencies
|
||||
|
||||
Also, ensure that you have the appropriate `python-dev` package installed
|
||||
to access the Python development libraries / headers.
|
||||
|
||||
```shell
|
||||
python -m venv mlir_venv
|
||||
source mlir_venv/bin/activate
|
||||
|
@ -26,6 +23,15 @@ python -m pip install -r requirements.txt
|
|||
python -m pip install -r torchvision-requirements.txt
|
||||
```
|
||||
|
||||
Also, ensure that you have the appropriate `python-dev` package installed
|
||||
to access the Python development libraries / headers. For example, you can install
|
||||
it with the following `apt` command on Ubuntu/Debian.
|
||||
|
||||
```shell
|
||||
sudo apt install python3-dev
|
||||
```
|
||||
|
||||
|
||||
## (Optional) Set up pre-commit
|
||||
|
||||
This project uses [pre-commit](https://pre-commit.com/) in its CI. You can
|
||||
|
|
Loading…
Reference in New Issue