Skip to content

Commit 865427e

Browse files
committed
Use standard python docs commands
1 parent 5b18ce1 commit 865427e

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ To run this prebuilt project, you will need:
1717

1818
- [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.
1919
- 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.12 or higher installed
21-
- This quickstart is verified in CI and locally with Python 3.12.
20+
- [Python](https://www.python.org/downloads/) 3.10 or higher installed
2221
- 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.
2322
- Loading Travel Sample Bucket
2423
If travel-sample is not loaded in your Capella cluster, you can load it by following the instructions for your Capella Cluster:
@@ -40,14 +39,14 @@ The dependencies for the application are specified in the `requirements.txt` fil
4039

4140
```shell
4241
cd src
43-
python3 -m pip install -r requirements.txt
42+
python -m pip install -r requirements.txt
4443
```
4544

46-
> Note: On Windows, or inside an activated virtual environment where `python3` is not available, use `python` in the commands below instead.
45+
> Note: If your environment only provides a `python3` executable, substitute `python3` in the commands below.
4746
4847
> 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
4948
50-
> `python3 -m pip install couchbase --no-binary couchbase`
49+
> `python -m pip install couchbase --no-binary couchbase`
5150
5251
> Refer to the [instructions in the SDK](https://github.com/couchbase/couchbase-python-client#alternative-installation-methods) for more info.
5352
@@ -80,7 +79,7 @@ At this point, we have installed the dependencies, loaded the travel-sample data
8079

8180
```sh
8281
cd src
83-
python3 app.py
82+
python app.py
8483
```
8584

8685
### Using Docker
@@ -116,7 +115,7 @@ To run the integration tests, use the following commands:
116115

117116
```sh
118117
cd src
119-
python3 -m pytest
118+
python -m pytest
120119
```
121120

122121
## Appendix

0 commit comments

Comments
 (0)