Commit 4682115 1 parent d2fe1ed commit 4682115 Copy full SHA for 4682115
File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 139
139
~~~~
140
140
141
141
To authenticate using GSSAPI you must first install the python `kerberos `_ or
142
- `pykerberos `_ module using easy_install or pip. Make sure you run kinit before
142
+ `pykerberos `_ module using pip. Make sure you run kinit before
143
143
using the following authentication methods::
144
144
145
145
$ kinit mongodbuser@EXAMPLE.COM
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Installing / Upgrading
6
6
<http://pypi.python.org/pypi/pymongo/> `_.
7
7
8
8
.. warning :: **Do not install the "bson" package from pypi.** PyMongo comes
9
- with its own bson package; doing "pip install bson" or "easy_install bson"
9
+ with its own bson package; doing "pip install bson"
10
10
installs a third-party package that is incompatible with PyMongo.
11
11
12
12
Installing with pip
@@ -134,7 +134,7 @@ Python to fail to build the C extensions if you have Xcode 4 installed. There
134
134
is a workaround::
135
135
136
136
# For some Python builds from python.org
137
- $ env ARCHFLAGS='-arch i386 -arch x86_64' python -m easy_install pymongo
137
+ $ env ARCHFLAGS='-arch i386 -arch x86_64' python -m pip install pymongo
138
138
139
139
See `http://bugs.python.org/issue11623 <http://bugs.python.org/issue11623 >`_
140
140
for a more detailed explanation.
@@ -152,15 +152,9 @@ This may cause C extension builds to fail with an error similar to::
152
152
There are workarounds::
153
153
154
154
# Apple specified workaround for Xcode 5.1
155
- # easy_install
156
- $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install pymongo
157
- # or pip
158
155
$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pymongo
159
156
160
157
# Alternative workaround using CFLAGS
161
- # easy_install
162
- $ CFLAGS=-Qunused-arguments easy_install pymongo
163
- # or pip
164
158
$ CFLAGS=-Qunused-arguments pip install pymongo
165
159
166
160
You can’t perform that action at this time.
0 commit comments