Immutable solution version
Fix Snowflake connector NotSupportedError on Apple M1
Complete solution
Shows how to fix snowflake connector NotSupportedError on Apple M1. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
For "snowflake.connector.errors.NotSupportedError: Unknown error": upgrade to 2.7.8 or newer.
snowflake.connector.errors.NotSupportedError: Unknown errorSteps
- 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. - On my M1 the connector threw
NotSupportedError: Unknown errorbecause 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 withpip 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
When to use
You are seeing this: The maintainers started publishing macOS ARM wheels with release 2.7.8. Use this skill when you run into "Fix Snowflake connector NotSupportedError on Apple M1".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 2.7.8. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- 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 2 · Exact version
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>