harelba / q

q - Run SQL directly on delimited files and multi-file sqlite databases
http://harelba.github.io/q/
GNU General Public License v3.0
10.15k stars 419 forks source link

pip install 3.0.0 and does not run #279

Closed chenrui333 closed 2 years ago

chenrui333 commented 2 years ago
$ pip install https://github.com/harelba/q/archive/3.0.0.tar.gz
Collecting https://github.com/harelba/q/archive/3.0.0.tar.gz
  Downloading https://github.com/harelba/q/archive/3.0.0.tar.gz
     - 272 kB 3.5 MB/s
Collecting six==1.11.0
  Using cached six-1.11.0-py2.py3-none-any.whl (10 kB)
Collecting sqlitebck
  Downloading sqlitebck-1.4.tar.gz (5.8 kB)
Using legacy 'setup.py install' for q, since package 'wheel' is not installed.
Using legacy 'setup.py install' for sqlitebck, since package 'wheel' is not installed.
Installing collected packages: sqlitebck, six, q
    Running setup.py install for sqlitebck ... done
  Attempting uninstall: six
    Found existing installation: six 1.16.0
    Uninstalling six-1.16.0:
      Successfully uninstalled six-1.16.0
  Attempting uninstall: q
    Found existing installation: q 2.6
    Uninstalling q-2.6:
      Successfully uninstalled q-2.6
    Running setup.py install for q ... done
Successfully installed q-3.0.0 six-1.11.0 sqlitebck-1.4

Failed to run q 3.0.0

$ /Users/ruichen/.pyenv/versions/3.10.0/bin/q --version
Traceback (most recent call last):
  File "/Users/ruichen/.pyenv/versions/3.10.0/bin/q", line 33, in <module>
    sys.exit(load_entry_point('q==3.0.0', 'console_scripts', 'q')())
  File "/Users/ruichen/.pyenv/versions/3.10.0/bin/q", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/Users/ruichen/.pyenv/versions/3.10.0/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/Users/ruichen/.pyenv/versions/3.10.0/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'bin'

relates to https://github.com/Homebrew/homebrew-core/pull/86532

harelba commented 2 years ago

sorry, this is an incidental version release which is part of my tests of a new packaging workflow.

It's not updated in the site or in brew. See my current status here

I'll try to delete this incidental tag, as it's already misled some people.

harelba commented 2 years ago

3.1.0-beta is out - https://github.com/harelba/q/releases/tag/v3.1.0-beta

harelba commented 2 years ago

Removed incidental tag.

3.1.1-beta is out - https://github.com/harelba/q/releases/tag/v3.1.0-beta