omejiasq commented on issue #10032: URL: https://github.com/apache/incubator-superset/issues/10032#issuecomment-672910583
> ok.. this is a bug on the version on Pypi. I will fix this today. In the meantime, you should be able to do the following: 1. source venv/bin/activate 2. Clone or d/l the Drill dialect from github 3. Navigate to the sqlalchemy-drill directory 4. python setup.py install Just make sure you are in the correct virtual environment when you run the last step and it should work. -- C > […](#) > On Aug 9, 2020, at 10:45 AM, omejiasq ***@***.***> wrote: @omejiasq <https://github.com/omejiasq> You have to start the virtual environment first: source venv/bin/activate Then, only after you've activated the virtual environment, install the sqlalchemy-drill driver. This is now available on Pypi and can be installed with: pip install sqlalchemy-drill Hello cgvre thank you. I did what you told me, but when i run the command pip install sqlalchemy-drill, i caught some issues. I show this log: Building wheels for collected packages: sqlalchemy-drill Running setup.py bdist_wheel for sqlalchemy-drill ... error Complete output from command /home/edgarubuntustudio/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dezp45fe/sqlalchemy-drill/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpc57728k8pip-wheel- --python-tag cp36: /usr/lib/python3.6/distutils/dist.p y:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' Failed building wheel for sqlalchemy-drill Running setup.py clean for sqlalchemy-drill Failed to build sqlalchemy-drill Installing collected packages: sqlalchemy-drill Running setup.py install for sqlalchemy-drill ... done Successfully installed sqlalchemy-drill-0.1.dev0 After of this i restart superset and set this SQLAlchemy URI:drill+sadrill://localhost:8047/dfs?use_ssl=False and when i click over test Connection button i get this error:AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error' do you know please how can to fix it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <[#10032 (comment)](https://github.com/apache/incubator-supers et/issues/10032#issuecomment-671060665)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABKB7PXMO6BULH5CJOZU2CTR72ZBBANCNFSM4N2ULOUA>. Hello Cgivre, do you have anything to this issue please? Thank you. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
