- Documentation
Document Database for MongoDB
SDK reference
Python SDK
Downloading and installing
Python SDK
Downloading and installing
Downloading and installing
This topic describes how to download and install the MongoDB Python SDK.
Prerequisite
- A Volcano Engine account has been registered with real name authentication completed. For account registration and real name authentication, refer to Create account and Verify account.
- Before accessing the Document Database for MongoDB API using the Volcano Engine Python SDK, please confirm that you have enabled the MongoDB service in the Volcano Engine Console.
- If Python v2.7 or higher has been installed, you can check the current Python version with the python version.
SDK download link
Installing the SDK
You can install the SDK in any of the following ways:
- Install the SDK with the pip command.
pip install volcengine-python-sdk
- Download the MongoDB Python SDK source code and install it with the Setuptools. tool. You can run the following commands based on business needs:
- Run the following command to install the SDK for specified users.
python setup.py install --<username>
- Run the following command to install the SDK for all users.
sudo python setup.py install
Last updated: 2026.04.10 14:24:00