You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vitepress/guide/tutorial/setup.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,15 @@
1
1
# Setup environment
2
2
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/).
4
4
5
5
```bash
6
-
python3.9 -m venv .venv
6
+
uv venv -p 3.12
7
7
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
12
11
```
13
12
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+.
0 commit comments