PYTHON-2007 Fix pymongocrypt install error message
This commit is contained in:
parent
ad0e87c0e0
commit
c25a83aee4
@ -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 "
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user