Install & Compatibility
Where this runs
tested against v25.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.070s · 202MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.4s · import 0.064s · 172MB
182MB installed
● package 182MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
pa
✓ import pyarrow as pa
Standard import pattern for PyArrow
This script demonstrates creating an Arrow Table, writing it to a Parquet file, and reading it back using PyArrow.
import pyarrow as pa
# Create a simple Arrow Table
data = {'column1': [1, 2, 3], 'column2': ['A', 'B', 'C']}
table = pa.table(data)
# Write the Table to a Parquet file
import pyarrow.parquet as pq
pq.write_table(table, 'example.parquet')
# Read the Table back from the Parquet file
table_read = pq.read_table('example.parquet')
print(table_read)
pyarrow --version
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pyarrow._dataset'
This error occurs when the 'pyarrow.dataset' module is not available, often due to an incomplete or incorrect installation of PyArrow.
fixEnsure that PyArrow is installed correctly by running 'pip install pyarrow' and verify the installation.
ValueError: The pyarrow library is not installed, please install pyarrow to use the to_arrow() function.
This error indicates that the PyArrow library is not installed, which is required for certain functions like 'to_arrow()'.
fixInstall PyArrow using 'pip install pyarrow'.
ImportError: libaws-cpp-sdk-s3.so: cannot open shared object file: No such file or directory
This error occurs when the required AWS SDK for C++ shared library is missing, leading to import failures in PyArrow.
fixInstall the missing AWS SDK for C++ shared library or ensure that all necessary dependencies are installed.
ImportError: DLL load failed while importing lib: The specified procedure could not be found.
This error indicates that a required DLL is missing or incompatible, preventing PyArrow from being imported.
fixEnsure that all necessary DLLs are present and compatible with your system; reinstalling PyArrow may resolve the issue.
AttributeError: module 'pyarrow' has no attribute '__version__'
This error occurs when the '__version__' attribute is missing from the PyArrow module, possibly due to an incomplete installation.
fixUpgrade or reinstall PyArrow using 'pip install --upgrade pyarrow'.
Upgrade
Version history
25.0.1latest on PyPI · released Aug 10, 2026
Audit
Dependencies
numpyrequiredRequired for array operations
pandasoptionalOptional for DataFrame support