File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change 4
4
Frequently Asked Questions
5
5
==========================
6
6
7
- Why do I get ``ModuleNotFoundError: No module named 'polars'`` when using PyMongoArrow?
7
+ .. contents:: On this page
8
+ :local:
9
+ :backlinks: none
10
+ :depth: 1
11
+ :class: singlecol
12
+
13
+ .. facet::
14
+ :name: genre
15
+ :values: reference
16
+
17
+ .. meta::
18
+ :keywords: help, troubleshoot
19
+
20
+ This page contains frequently asked questions and their answers.
21
+
22
+ Why Do I Get ``ModuleNotFoundError: No module named 'polars'`` When Using {+driver-short+}?
8
23
---------------------------------------------------------------------------------------
9
24
10
- This error is raised when an application attempts to use a PyMongoArrow API
11
- that returns query result sets as a :class:` polars.DataFrame` instance without
25
+ {+driver-short+} raises this error when an application attempts to use a {+driver-short+} API
26
+ that returns query result- sets as a `` polars.DataFrame` ` instance without
12
27
having ``polars`` installed in the Python environment. Since ``polars`` is not
13
- a direct dependency of PyMongoArrow, it is not automatically installed when
14
- you install ``pymongoarrow`` and must be installed separately::
28
+ a direct dependency of {+driver-short+}, it's not automatically installed when
29
+ you install ``pymongoarrow``. You must install ``polars`` separately with the
30
+ following shell command:
31
+
32
+ .. code-block:: sh
15
33
16
- $ python -m pip install polars
34
+ $ python -m pip install polars
You can’t perform that action at this time.
0 commit comments