Add installation note about OSX compilation error
Fixes PYTHON-65
This commit is contained in:
@@ -19,6 +19,16 @@ the same time as the driver itself. To install the driver::
|
||||
|
||||
You can use ``pip install --pre cassandra-driver`` if you need to install a beta version.
|
||||
|
||||
OSX Installation Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
If you're installing on OSX and have XCode 5.1 installed, you may see an error like this:
|
||||
|
||||
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
|
||||
|
||||
To fix this, re-run the installation with an extra compilation flag:
|
||||
|
||||
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install cassandra-driver
|
||||
|
||||
Manual Installation
|
||||
-------------------
|
||||
You can always install the driver directly from a source checkout or tarball.
|
||||
|
||||
Reference in New Issue
Block a user