Skip to content

Commit bb219af

Browse files
authored
docs(tutorial): upgrade docs/tutorial python version from 3.9 to 3.12
1 parent c63cec3 commit bb219af

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/vitepress/guide/tutorial/setup.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
# Setup environment
22

3-
***trame*** requires Python 3.6+ but since ParaView 5.11 is bundling Python 3.9 we will use Python 3.9 in this tutorial.
3+
***trame*** requires Python 3.10+ but since ParaView 6 is bundling Python 3.12 we will use Python 3.12 in this tutorial. Also for uniformity across OS we will be using [uv](https://docs.astral.sh/uv/).
44

55
```bash
6-
python3.9 -m venv .venv
6+
uv venv -p 3.12
77
source ./.venv/bin/activate
8-
python -m pip install --upgrade pip
9-
pip install trame # Install trame core
10-
pip install trame-vuetify trame-vtk # Install widgets that we'll be using
11-
pip install vtk # Install the VTK library
8+
uv pip install trame # Install trame core
9+
uv pip install trame-vuetify trame-vtk # Install widgets that we'll be using
10+
uv pip install vtk # Install the VTK library
1211
```
1312

14-
**Notes**:
15-
- `venv` was added in Python 3.3.
16-
- On a Mac with ARM architecture, VTK is only available with Python 3.9+.
17-
1813
## Running the application
1914

2015
```bash

0 commit comments

Comments
 (0)