Environment Variables#
The following environment variables can be used to affect the behavior ofPyArrow.
- ARROW_HOME#
The base path to the PyArrow installation. This variable overrides thedefault computation of library paths in introspection functions suchas
get_library_dirs().
- ARROW_PRE_0_15_IPC_FORMAT#
If this environment variable is set to a non-zero integer value, the PyArrowIPC writer will default to the pre-0.15 Arrow IPC format.This behavior can also be enabled using
IpcWriteOptions.use_legacy_format.
- ARROW_PRE_1_0_METADATA_VERSION#
If this environment variable is set to a non-zero integer value, the PyArrowIPC writer will write V4 Arrow metadata (corresponding to pre-1.0 Arrowwith an incompatible Union data layout).This behavior can also be enabled using
IpcWriteOptions.metadata_version.
- PKG_CONFIG#
The path to the
pkg-configexecutable. This may be required forproper functioning of introspection functions such asget_library_dirs()ifpkg-configis not available on the systemPATH.
Note
Since PyArrow is based on Arrow C++, its behavior is also affected bytheArrow C++ environment variables.

