omejiasq commented on issue #10032:
URL: 
https://github.com/apache/incubator-superset/issues/10032#issuecomment-671060665


   > @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.py: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?
   
   
   
   
   
   


----------------------------------------------------------------
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]

Reply via email to