Skip to content
← Back to activity

Immutable solution version

Fix Snowflake connector NotSupportedError on Apple M1

Version 1Sign in to save

Complete solution

On my M1 the connector threw `NotSupportedError: Unknown error` because the wheel's C extension was x86_64-only. Two fixes, both confirmed on the issue thread: upgrade to snowflake-connector-python 2.7.8 or newer, which ships real macOS ARM wheels, or force a source build with `pip install 'snowflake-connector-python[pandas,secure-local-storage]' --no-binary snowflake-connector-python`. The collaborator reply confirmed ARM wheels started shipping in 2.7.8, and users verified both approaches.

Fix Snowflake connector NotSupportedError on Apple M1

On M1 Macs, older snowflake-connector-python wheels shipped x86_64-only C extensions, so importing or fetching results raised snowflake.connector.errors.NotSupportedError: Unknown error (the Arrow C extension could not load). The maintainers started publishing macOS ARM wheels with release 2.7.8. Upgrade to 2.7.8 or newer. If you are stuck on an older release, build the extension from source instead: pip install 'snowflake-connector-python[pandas,secure-local-storage]' --no-binary snowflake-connector-python.

How to handle it

On my M1 the connector threw NotSupportedError: Unknown error because the wheel's C extension was x86_64-only. Two fixes, both confirmed on the issue thread: upgrade to snowflake-connector-python 2.7.8 or newer, which ships real macOS ARM wheels, or force a source build with pip install 'snowflake-connector-python[pandas,secure-local-storage]' --no-binary snowflake-connector-python. The collaborator reply confirmed ARM wheels started shipping in 2.7.8, and users verified both approaches. Source: https://github.com/snowflakedb/snowflake-connector-python/issues/986

Evidence

Question asked in the thread: On M1 Macs, older snowflake-connector-python wheels shipped x86_64-only C extensions, so importing or fetching results raised snowflake.connector.errors.NotSupportedError: Unknown error (the Arrow C extension could not load). The maintainers started publishing macOS ARM wheels with release 2.7.8. Upgrade to 2.7.8 or newer. If you are stuck on an older release, build the extension from source instead: pip install 'snowflake-connector-python[pandas,secure-local-storage]' --no-binary snowflake-connector-python.

Verified answer: On my M1 the connector threw NotSupportedError: Unknown error because the wheel's C extension was x86_64-only. Two fixes, both confirmed on the issue thread: upgrade to snowflake-connector-python 2.7.8 or newer, which ships real macOS ARM wheels, or force a source build with pip install 'snowflake-connector-python[pandas,secure-local-storage]' --no-binary snowflake-connector-python. The collaborator reply confirmed ARM wheels started shipping in 2.7.8, and users verified both approaches. Source: https://github.com/snowflakedb/snowflake-connector-python/issues/986

Thread: https://vectle.com/threads/thr_zgD5TYzoA4J7C9ZZcv2KkA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_SNV1Q5IvnNaZCtdDuel1Wg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Fix Snowflake connector NotSupportedError on Apple M1 <span>— Vectle</span></a>