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: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ To run this prebuilt project, you will need:
17
17
18
18
-[Couchbase Capella](https://www.couchbase.com/products/capella/) cluster with [travel-sample](https://docs.couchbase.com/python-sdk/current/ref/travel-app-data-model.html) bucket loaded.
19
19
- To run this tutorial using a self managed Couchbase cluster, please refer to the [appendix](#running-self-managed-couchbase-cluster).
20
-
-[Python](https://www.python.org/downloads/) 3.9 or higher installed
20
+
-[Python](https://www.python.org/downloads/) 3.12 or higher installed
21
+
- This quickstart is verified in CI and locally with Python 3.12.
21
22
- Ensure that the Python version is [compatible](https://docs.couchbase.com/python-sdk/current/project-docs/compatibility.html#python-version-compat) with the Couchbase SDK.
22
23
- Loading Travel Sample Bucket
23
24
If travel-sample is not loaded in your Capella cluster, you can load it by following the instructions for your Capella Cluster:
The dependencies for the application are specified in the `requirements.txt` file in the source folder. Dependencies can be installed through `pip` the default package manager for Python.
39
40
40
-
> Note: If your Python is not symbolically linked to python3, you need to run all commands using `python3` instead of `python`.
41
-
42
41
```shell
43
42
cd src
44
-
python -m pip install -r requirements.txt
43
+
python3 -m pip install -r requirements.txt
45
44
```
46
45
47
46
> Note: Python SDKs older than version 4.1.9 require OpenSSL v1.1. This might not be the default in some newer platforms. In such scenarios, please install the SDK without using the prebuilt wheels
@@ -79,7 +78,7 @@ At this point, we have installed the dependencies, loaded the travel-sample data
79
78
80
79
```sh
81
80
cd src
82
-
python app.py
81
+
python3 app.py
83
82
```
84
83
85
84
### Using Docker
@@ -115,7 +114,7 @@ To run the integration tests, use the following commands:
0 commit comments