PYTHON-2007 Fix pymongocrypt install error message

This commit is contained in:
Shane Harvey 2019-10-31 16:14:57 -07:00
parent ad0e87c0e0
commit c25a83aee4
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ class ClientEncryption(object):
raise ConfigurationError(
"client side encryption requires the pymongocrypt library: "
"install a compatible version with: "
"python -m pip install pymongo['encryption']")
"python -m pip install 'pymongo[encryption]'")
if not isinstance(codec_options, CodecOptions):
raise TypeError("codec_options must be an instance of "

View File

@ -115,7 +115,7 @@ class AutoEncryptionOpts(object):
raise ConfigurationError(
"client side encryption requires the pymongocrypt library: "
"install a compatible version with: "
"python -m pip install pymongo['encryption']")
"python -m pip install 'pymongo[encryption]'")
self._kms_providers = kms_providers
self._key_vault_namespace = key_vault_namespace