'Error installing snowflake connector for python
When I try to download snowflake connector as following https://docs.snowflake.com/en/user-guide/python-connector.html I get an error for metadata-generation-failed
.
Specifically I get an error saying NotADirectoryError: [Errno 20] Not a directory: 'pkg-config'
.
I've never seen this error, nor have I found anything online to help. I'm trying to install on Mac M1, which potentially could be the issue? Any thoughts as to what the issue could be?
Solution 1:[1]
Yes this is an issue with M1 chips on MAC.
More discussion here.
Can you try installing python connector with this
pip install --no-binary snowflake-connector-python
There are other work-around mentioned in the above article, so please test those as well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Javad Nikbakht |