🔥

Redash Toolbelt Install Memo

2021/10/08に公開

Redash Toolbelt を macos 11.6 (Apple M1)にインストールしたメモ。

記述日:2021/10/08

注意点

  1. python3 を明示的に指定して実行する必要がある。

  2. poetry の実行パスを絶対パスで指定する。

    poetry install ではすんなり実行できなかったので、一度 update をしてパッケージ更新をする必要があるっぽい。

実行ログ

> git clone git@github.com:getredash/redash-toolbelt.git
Cloning into 'redash-toolbelt'...
remote: Enumerating objects: 429, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 429 (delta 51), reused 60 (delta 27), pack-reused 342
Receiving objects: 100% (429/429), 155.91 KiB | 523.00 KiB/s, done.
Resolving deltas: 100% (278/278), done.

> cd redash-toolbelt
> curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
...

> /Users/yasui/Library/Python/3.9/bin/poetry update
Updating dependencies
Resolving dependencies... (1.6s)

Writing lock file

Package operations: 6 installs, 0 updates, 0 removals

  • Installing certifi (2021.5.30)
  • Installing charset-normalizer (2.0.6)
  • Installing idna (3.2)
  • Installing urllib3 (1.26.7)
  • Installing click (7.1.2)
  • Installing requests (2.26.0)


> /Users/yasui/Library/Python/3.9/bin/poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: redash_toolbelt (0.1.4)

> /Users/yasui/Library/Python/3.9/bin/poetry run python3 ./redash_toolbelt/examples/query_export.py 'https://app.redash.io/<slug>' --api-key "<api_key>"

参考

Discussion