Skip to content

Commit 2238ad6

Browse files
committed
README update
1 parent feee2de commit 2238ad6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,15 @@ ctest --test-dir build --output-on-failure
6969
### 2. Install for Python consumers (optional)
7070

7171
```bash
72+
python3 -m venv .venv
73+
source .venv/bin/activate
7274
pip install .[torch]
7375
```
7476

7577
`pip install` builds the Python bindings, exposes `t81lib`/`t81`, and pulls the optional `torch` helpers when you request `[torch]`. See [docs/python-install.md](docs/python-install.md) for pipx, CLI helpers, and verification scripts.
7678

79+
On macOS or other PEP 668-enforced environments, activate a virtualenv before running `pip install ".[torch]"` (or use `python3 -m pip install --user ".[torch]" --break-system-packages` if you understand the risks) so pip can install the extra dependencies without hitting the “externally managed environment” error.
80+
7781
### 3. Consume as a subproject
7882

7983
```cmake

0 commit comments

Comments
 (0)