Skip to content

Commit 356d015

Browse files
MechCoderwesm
authored andcommitted
ARROW-240: Provide more detailed installation instructions for pyarrow. Closes
1 parent dc79ceb commit 356d015

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

python/README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,40 @@ This library provides a Pythonic API wrapper for the reference Arrow C++
44
implementation, along with tools for interoperability with pandas, NumPy, and
55
other traditional Python scientific computing packages.
66

7-
#### Development details
7+
### Development details
88

99
This project is layered in two pieces:
1010

1111
* pyarrow, a C++ library for easier interoperability between Arrow C++, NumPy,
1212
and pandas
1313
* Cython extensions and pure Python code under arrow/ which expose Arrow C++
14-
and pyarrow to pure Python users
14+
and pyarrow to pure Python users
15+
16+
#### PyArrow Dependencies:
17+
These are the various projects that PyArrow depends on.
18+
19+
1. **g++ and gcc Version >= 4.8**
20+
2. **cmake > 2.8.6**
21+
3. **boost**
22+
4. **Parquet-cpp**
23+
24+
The preferred way to install parquet-cpp is to use conda.
25+
You need to set the ``PARQUET_HOME`` environment variable to where parquet-cpp is installed.
26+
```bash
27+
conda install -y --channel apache/channel/dev parquet-cpp
28+
```
29+
5. **Arrow-cpp and its dependencies***
30+
31+
The Arrow C++ library must be built with all options enabled and installed with ``ARROW_HOME`` environment variable set to
32+
the installation location. Look at (https://github.com/apache/arrow/blob/master/cpp/README.md) for
33+
instructions. Alternatively you could just install arrow-cpp
34+
from conda.
35+
```bash
36+
conda install arrow-cpp -c apache/channel/dev
37+
```
38+
6. **Python dependencies: numpy, pandas, cython, pytest**
39+
40+
#### Install pyarrow
41+
```bash
42+
python setup.py build_ext --inplace
43+
```

0 commit comments

Comments
 (0)