apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.47k stars 3.7k forks source link

dsql throws error: ModuleNotFoundError No module named 'urllib2' #14027

Open techdocsmith opened 1 year ago

techdocsmith commented 1 year ago

Updating the querying tutorial:https://github.com/apache/druid/pull/14026 Trying to update the dsql section and get the following error:

  25.0 bin/dsql
Traceback (most recent call last):
  File "/Users/charlessmith/sandbox/druid/25.0/bin/dsql-main", line 36, in <module>
    import urllib2
ModuleNotFoundError: No module named 'urllib2'

Python version:

  25.0 python --version
Python 3.11.1

Mac OS: 12.6.3

Affected Version

25.0 But probably existed earlier

tripend commented 1 year ago

I downloaded python2 and it seemed to fix it.

github-actions[bot] commented 8 months ago

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.