Docs Menu
Docs Home
/ / /
PyMongoArrow

Frequently Asked Questions

On this page

  • Why Do I Get ModuleNotFoundError: No module named 'polars' When Using PyMongoArrow?
  • Why Do I Get an undefined symbol Error When Installing PyMongoArrow from Source?

This page contains frequently asked questions and their answers.

PyMongoArrow raises this error when an application attempts to use a PyMongoArrow API that returns query result-sets as a polars.DataFrame instance without having polars installed in the Python environment. Since polars is not a direct dependency of PyMongoArrow, it's not automatically installed when you install pymongoarrow. You must install polars separately with the following shell command:

$ python -m pip install polars

PyMongoArrow raises this error when GCC version 12 or later is not installed in your Linux environment. If you experience this error, ensure that you have GCC version 12 or later installed.

To learn more about the requirements for installing PyMongoArrow from source, see Installing and Upgrading.

Back

Schema Examples