We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405d97a commit 01dceedCopy full SHA for 01dceed
bindings/python/pymongoarrow/__init__.py
@@ -12,6 +12,7 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import traceback
16
import warnings
17
18
# We must import pyarrow before attempting to load the Cython module.
@@ -30,7 +31,11 @@ def _parse_version(version):
30
31
try:
32
from pymongoarrow.lib import libbson_version
33
except ImportError:
- warnings.warn("This library has not been compiled")
34
+ warnings.warn(
35
+ "Could not find compiled pymongoarrow.lib extension, please install "
36
+ "from source or report the following traceback on the issue tracker:\n"
37
+ f"{traceback.format_exc()}"
38
+ )
39
libbson_version = None
40
41
if libbson_version is not None:
0 commit comments