pacman82 / arrow-odbc-py

Read Apache Arrow batches from ODBC data sources in Python
MIT License
59 stars 5 forks source link

Unable to compile application using arrow-odbc.py #111

Open farooq-omer1 opened 1 week ago

farooq-omer1 commented 1 week ago

I am having trouble in compiling python application on Windows OS which is using polars and arrow-odbc. I have tried to use both nuitka and pyinstaller but always received error:

module arrow_odbc.arrow_odbc> OSError: cannot load library 'F:\vm_share\GL_Bus_Tagging_RN11410_v3\RN11410_Process_Data.dist\arrow_odbc\arrow_odbc\arrow_odbc.so': error 0x7e

Can you please share guideline/method to compile the application.

pacman82 commented 1 week ago

May I ask why you compile the arrow-odbc? It also ships complete with binaries as a windows wheel in pypi. See: https://pypi.org/project/arrow-odbc/#files

farooq-omer1 commented 1 week ago

I am compiling my python app in which I have referenced arrow-odbc library. The application runs fine in conda environment. But, when I am compiled it to an exe file it failed to run and show me the error message which I shared. I need your help and guidance to resolve this issue. Thanks & regards

pacman82 commented 5 days ago

Just to give you a bit of intermediate feedback. Definitely want to give you the option to compile against wide character set in non-windows platforms. Yet I still want to maintain the different defaults for windows and non-windows. I am currently looking into changes of the upstream odbc-api to facilitate this. Yet currently my open source time is spread thin.