Problem when compiling with PyInstaller #9040
-
Hello there! I'm having trouble compiling a script with PyInstaller and using Ibis. When running the program I get the error AttributeError: module 'ibis' has no attribute 'duckdb'. I get that when using 'conn = ibis.duckdb.connect()' in my code. I also tried using 'conn = ibis.connect("duckdb://") and in that case I get ValueError don't know how to connect to 'duckdb://'. What's strange is that when I ran the script directly from Visual Studio Code either way, it runs without a problem. Any suggestions? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hi @Buzzardarg, I suspect you have the other ibis installed -- the PyPI package name for this Ibis is can you confirm this is the issue? if you |
Beta Was this translation helpful? Give feedback.
I just tried copying some libraries from my venv (all folders starting with ibis, sqlalchemy and duckdb) to the dist folder and now it works, it seems that PyInstaller is indeed not bundling everything required. I do not know why though...