BUILD: Installation issue on Mac with M1 Pro arm64 processor. pandas_parser.cpython-311-darwin.so is using x86_64 arch #61566
Labels
Build
Library building on various platforms
Needs Triage
Issue that has not been reviewed by a pandas team member
Installation check
Platform
macOS-15.5-arm64-arm-64bit
Installation Method
Built from source
pandas Version
pandas-3.0.0.dev0+2147.g1f6f42ac55
Python Version
3.11.13
Installation Logs
I can't use pandas installed either using pip or from source, on my macbook with M1 Pro arm64 processor.
I am not using rosetta in terminal and my python install is also amd64.
Please help. It looks like one library file is built with x86-x64 arch.
../../Library/Python/3.11/lib/python/site-packages/pandas/init.py:45: in
from pandas.core.api import (
../../Library/Python/3.11/lib/python/site-packages/pandas/core/api.py:1: in
from pandas._libs import (
../../Library/Python/3.11/lib/python/site-packages/pandas/_libs/init.py:16: in
import pandas._libs.pandas_parser # isort: skip # type: ignore[reportUnusedImport]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E ImportError: dlopen(/Users/leviann/Library/Python/3.11/lib/python/site-packages/pandas/_libs/pandas_parser.cpython-311-darwin.so, 0x0002): tried: '/Users/leviann/Library/Python/3.11/lib/python/site-packages/pandas/_libs/pandas_parser.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/leviann/Library/Python/3.11/lib/python/site-packages/pandas/_libs/pandas_parser.cpython-311-darwin.so' (no such file), '/Users/leviann/Library/Python/3.11/lib/python/site-packages/pandas/_libs/pandas_parser.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
The text was updated successfully, but these errors were encountered: