File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
bindings/python/docs/source Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,18 @@ PyMongoArrow uses `libbson <http://mongoc.org/libbson/current/index.html>`_.
37
37
Detailed instructions for building/installing ``libbson `` can be found
38
38
`here <http://mongoc.org/libmongoc/1.17.5/installing.html#installing-the-mongodb-c-driver-libmongoc-and-bson-library-libbson >`_.
39
39
40
- On macOS, users can install the latest ``libbson `` via Homebrew::
40
+ You can either use a system-provided version of ``libbson `` that is properly
41
+ configured for use with ``pkg-config ``, or use the provided ``build-libbson.sh` ` script to build it ::
41
42
42
- $ brew install mongo-c-driver
43
+ $ LIBBSON_INSTALL_DIR=$(pwd)/libbson ./build-libbson.sh
43
44
44
- Alternatively, you can use the provided ` build- libbson.sh ` script to build it ::
45
+ On macOS, users can install the latest `` libbson `` using Homebrew ::
45
46
46
- $ LIBBSON_INSTALL_DIR=$(pwd)/libbson ./build-libbson.sh
47
+ $ brew install mongo-c-driver
48
+
49
+ Conda users can install ``libbson `` as follows::
47
50
51
+ $ conda install --channel conda-forge libbson pkg-config
48
52
49
53
Build
50
54
-----
Original file line number Diff line number Diff line change @@ -30,15 +30,24 @@ To upgrade using pip::
30
30
31
31
$ python -m pip install --upgrade pymongoarrow
32
32
33
- .. attention :: Installing PyMongoArrow from
34
- `wheels <https://www.python.org/dev/peps/pep-0427/ >`_ on macOS Big Sur
35
- requires ``pip `` >= 20.3. To upgrade ``pip `` run::
33
+ .. attention :: If the install fails due to an error like ``ValueError: Could not find "libbson-1.0" library`` it means that ``pip`` failed to find a
34
+ suitable wheel for your platform. We recommend first ensuring you have ``pip `` >= 20.3 installed. To upgrade ``pip `` run::
36
35
37
36
$ python -m pip install --upgrade pip
38
37
39
- We currently distribute wheels for macOS and Linux on x86_64
38
+ You can then attempt to re-install ``pymongoarrow``.
39
+
40
+ We currently distribute wheels for macOS, Windows, and Linux on x86_64
40
41
architectures.
41
42
43
+ **PyMongoArrow ** is also available for ``conda `` users by running::
44
+
45
+ $ conda install --channel conda-forge pymongoarrow
46
+
47
+
48
+ If the above options still do not allow you to install ``pymongoarrow `` on your
49
+ system, you will have to install from source, see :doc: `developer/installation `.
50
+
42
51
43
52
Dependencies
44
53
^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments