Skip to content

BUILD: Installation issue on Mac with M1 Pro arm64 processor. pandas_parser.cpython-311-darwin.so is using x86_64 arch #61566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
Leviann opened this issue Jun 5, 2025 · 0 comments
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@Leviann
Copy link

Leviann commented Jun 5, 2025

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.

import pandas as pd

../../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'))

@Leviann Leviann added Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member labels Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

1 participant