No module named dbapi
See original GitHub issueHello,
I’m trying to run a simple python script using impyla:
from impala.dbapi import connect
When I run it I have the following error:
Traceback (most recent call last):
File "impala.py", line 1, in <module>
from impala.dbapi import connect
File "/Users/wmorin/src/hadoop-etl/impala.py", line 1, in <module>
from impala.dbapi import connect
ImportError: No module named dbapi
I’m under max OSX El captain. I use python installed via homebrew. I’m in a virtualenv and when I run pip list
I can see
bitarray (0.8.1)
impyla (0.13.8)
pip (9.0.1)
setuptools (28.8.0)
six (1.10.0)
thrift (0.9.3)
wheel (0.29.0)
Here are some info on my setup:
$ python -V
Python 2.7.12
pip -V
pip 9.0.1 from /Users/.../venv/lib/python2.7/site-packages (python 2.7)
Could you please help me?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
ImportError: No module named impyla - python - Stack Overflow
I have installed impyla and it's dependencies following this guide. The installation seems to be successful as now I can see the folder...
Read more >use impyla on hue - Google Groups
i encountered a problem. i want to use impyla on hue.But when i type 'from impala.dbapi import connect' and run it, it display...
Read more >ModuleNotFoundError: No module named 'dbapi'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'dbapi' How to remove the ModuleNotFou.
Read more >ModuleNotFoundError: No module named 'impala.dbapi'
插一句. ModuleNotFoundError: No module named 'google.cloud'. pip3 install google-cloud-bigquery. 正文. from impala.dbapi import connect.
Read more >impyla - PyPI
Fully DB API 2.0 (PEP 249)-compliant Python client (similar to sqlite or MySQL ... If no-one is working on it, assign it to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wmorin the problem is that your
impala.py
file is conflicting with theimpala
package name. Try calling the file something else@dknupp Thanks for your help. impyla==0.16.2 works. 😃