Skip to content

Commit eb25125

Browse files
committed
PYTHON-757 Warn against installing third-party "bson" package.
Do **not** install the "bson" package. PyMongo comes with its own bson package; doing "pip install bson" installs a third-party package that is incompatible with PyMongo.
1 parent 2ef8595 commit eb25125

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ should be able to do **easy_install pymongo** to install
7272
PyMongo. Otherwise you can download the project source and do **python
7373
setup.py install** to install.
7474

75+
Do **not** install the "bson" package. PyMongo comes with its own bson package;
76+
doing "easy_install bson" installs a third-party package that is incompatible
77+
with PyMongo.
78+
7579
Dependencies
7680
============
7781

doc/installation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Installing / Upgrading
55
**PyMongo** is in the `Python Package Index
66
<http://pypi.python.org/pypi/pymongo/>`_.
77

8+
.. warning:: **Do not install the "bson" package.** PyMongo comes with its own
9+
bson package; doing "pip install bson" or "easy_install bson" installs a
10+
third-party package that is incompatible with PyMongo.
11+
812
Microsoft Windows
913
-----------------
1014

0 commit comments

Comments
 (0)