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: src/README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,33 +6,34 @@
6
6
7
7
### Prerequisites
8
8
9
+
Please check your python version with the following command. The result should be 3.8 or higher.
10
+
11
+
```
12
+
python --version
13
+
```
14
+
9
15
-[ZED SDK 5.0](https://www.stereolabs.com/developers/) and its dependency [CUDA](https://developer.nvidia.com/cuda-downloads)
10
16
- Python 3.8+ x64
11
17
- C++ compiler
12
-
-[Cython >= 3.0.0](http://cython.org/#download)
13
-
-[Numpy >= 2.0](https://numpy.org/install/)
14
18
- CuPy (optional)
15
19
16
20
The ZED SDK 4.X compatible API can be found in the [zedsdk_4.X branch](https://github.com/stereolabs/zed-python-api/tree/zedsdk_4.X).
17
21
18
-
Please check your python version with the following command. The result should be 3.8 or higher.
22
+
**Python Dependencies:**
23
+
- Use `requirements.txt` for Python 3.9+ with modern dependencies
24
+
- Use `requirements_legacy.txt` for older Python versions or legacy setups
19
25
20
-
```
21
-
python --version
22
-
```
26
+
Install dependencies with:
27
+
```bash
28
+
# For modern Python environments (recommended)
29
+
pip install -r requirements.txt
23
30
24
-
Cython and Numpy can be installed via pip.
25
-
```
26
-
python -m pip install cython numpy
31
+
# For legacy Python environments
32
+
pip install -r requirements_legacy.txt
27
33
```
28
34
29
35
**Note:** On Linux, it is advised to use the `python3` command instead of `python` which by default point to python 2.7. To do so, the following packages `python3-dev` and `python3-pip` need to be installed.
0 commit comments