Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install pymongocrypt via python pip




pymongocrypt - Python bindings for libmongocrypt, it belongs to Classifiers:

- Operating System :: MacOS
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy
- Topic :: Database

When you know about this project and you want to new install pymongocrypt to support your project or you get trouble as ModuleNotFoundError: No module named "pymongocrypt" or ImportError: cannot import name "pymongocrypt" in your project, let follow this tutorial to install pymongocrypt



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_pymongocrypt_env

- Active the virtual environment

test_pymongocrypt_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_pymongocrypt_env

- Active the virtual environment

source test_pymongocrypt_env/bin/active


Step 2: OK, now, let flow below content to start the installation pymongocrypt

To install pymongocrypt on Windows(CMD):

py -m pip install pymongocrypt

To install pymongocrypt on Unix/macOs:

pip install pymongocrypt


Step 3: If you want to install a specific pymongocrypt version, add ==<pymongocrypt version> to the end command line

Example:

pip install pymongocrypt==0.1b0                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
pymongocrypt 1.3.12022-07-29T23:04:36Windows:

py -m pip install pymongocrypt==1.3.1

Unix/macOs:

pip install pymongocrypt==1.3.1

pymongocrypt 1.3.0 yanked2022-07-18T16:40:04Windows:

py -m pip install pymongocrypt==1.3.0                                                                          yanked

Unix/macOs:

pip install pymongocrypt==1.3.0                                                                          yanked

pymongocrypt 1.2.02021-11-17T00:49:51Windows:

py -m pip install pymongocrypt==1.2.0

Unix/macOs:

pip install pymongocrypt==1.2.0

pymongocrypt 1.1.22021-11-05T00:16:11Windows:

py -m pip install pymongocrypt==1.1.2

Unix/macOs:

pip install pymongocrypt==1.1.2

pymongocrypt 1.1.12021-07-16T01:08:37Windows:

py -m pip install pymongocrypt==1.1.1

Unix/macOs:

pip install pymongocrypt==1.1.1

pymongocrypt 1.1.02021-02-22T19:58:32Windows:

py -m pip install pymongocrypt==1.1.0

Unix/macOs:

pip install pymongocrypt==1.1.0

pymongocrypt 1.0.12020-06-30T20:49:54Windows:

py -m pip install pymongocrypt==1.0.1

Unix/macOs:

pip install pymongocrypt==1.0.1

pymongocrypt 1.0.02019-12-05T23:16:33Windows:

py -m pip install pymongocrypt==1.0.0

Unix/macOs:

pip install pymongocrypt==1.0.0


Step 4: Otherwise, you can install pymongocrypt from local archives:

Download the distribution file from pymongocrypt-1.3.1.tar.gz or the specific pymongocrypt version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pymongocrypt_downloaded_file>

On Unix/macOs:

pip install <path_to_pymongocrypt_downloaded_file>


List distribution:


Project link:

- Homepage