dropbox / PyHive

Python interface to Hive and Presto. 🐝
Other
1.67k stars 550 forks source link

sqlalchemy not registering correctly? #334

Open Data-drone opened 4 years ago

Data-drone commented 4 years ago

I installed sqlalchemy first then ran

pip3 install pyhive[hive]

but I still get

NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:hive

is there some extra install step I missed?

fgbocci commented 4 years ago

Did it install correctly? In some environments pyhive installation requires you to previously install some system libs. Also, would you share the sqlalchemy uri where you define the dialect? create_engine("hive://{}:{}@{}:{}/".format(user, password, host, port) works for me