I tried the following steps as mentioned in various website along with Dremio,
" > ```
brew install unixodbc
pip install pyodbc
But I am still facing the following issue. Can some one please help me
" Collecting pyodbc
Using cached pyodbc-4.0.32.tar.gz (280 kB)
Preparing metadata (setup.py) … done
Using legacy ‘setup.py install’ for pyodbc, since package ‘wheel’ is not installed.
Installing collected packages: pyodbc
Running setup.py install for pyodbc … error
In file included from src/buffer.cpp:12:
src/pyodbc.h:56:10: fatal error: ‘sql.h’ file not found
1 error generated.
error: command ‘/usr/bin/clang’ failed with exit code "
Can someone please help me
@ajayacharya Trying to narrow down the fact that it is M1, have you tried the same on an Intel MAC and it works?
When did you encounter this?
The sqlalcheme-dremio refers to a odbc driver in the prerequisites, but that doesn’t appear to be available anymore:
@balaji.ramaswamy . I am sorry for the delay in response.
Yes the script in running in Intel MAC.I was able to solve it in Mac by changing python version
I have a question, My team uses pyarrow.flight to connect with dremio in Python in Intel MAC.
When I was trying to install pyarrow.flight package in MAC M1 , I am getting "ModuleNotFoundError: No module named ‘pyarrow._flight’ " error.
I reached out to Apache team in Jira and they mentioned that “flight is not shipped in all versions of the wheel and unavailable in MAC M1 processor as it has been turned off”
([ARROW-13657] [Python] No module named 'pyarrow._flight' (MacOS) - ASF JIRA )
Do you know of any way I can run dremio in Python without pyarrow.flight module??
It is really important.
@balaji.ramaswamy . Can you please help me with the above question. Thanks
@ajayacharya Sorry for the delay in response, I was OOO for a few weeks, I have pinged the right person for this and you should hear back