From 72c4d25b28ffdef305802b249d44e370e5618fd8 Mon Sep 17 00:00:00 2001 From: Oriol Piera Date: Wed, 7 Feb 2024 08:30:43 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20pymongo=20version:=20mongodb=5Fback?= =?UTF-8?q?end=20requires=20pymongo=3D=3D3.13.0=20and=20reinstalling=20pym?= =?UTF-8?q?ongo=20cause=20bson=20python=20package=20error=20https://stacko?= =?UTF-8?q?verflow.com/questions/12983472/import-pymongo-causes-importerro?= =?UTF-8?q?r-cannot-import-name-bson-how-do-you-fix-the?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0773d59..31b83ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ somutils==1.7.2 -pymongo<3.0;python_version<="2.7.18" +pymongo==3.13.0;python_version<="2.7.18" pymongo<4.0;python_version>"2.7.18" numpy<1.17;python_version<="2.7.18" numpy;python_version>"2.7.18"