0

私は新しいプロジェクトに取り組もうとしていますが、本当に役立つ Data Cube について赤字です。

それを使用して操作するために、必要に応じて公式 Web サイトに postgres をインストールしました: https://datacube-core.readthedocs.io/en/datacube-1.4.1/ops/db_setup.html

このコマンドでデータセットを初期化しようとすると:

datacube -v system init

エラーが表示されます:「エラー: データキューブ構成が見つかりません」

要求に応じて、env varを追加し、構成ファイルをどこにでも配置しようとしました(ホームディレクトリ、デフォルト、現在...)

設定ファイル:

[datacube]
db_database: datacube

# A blank host will use a local socket. Specify a hostname (such as localhost) to use TCP.
db_hostname:

# Credentials are optional: you might have other Postgres authentication configured.
# The default username otherwise is the current user id.
db_username: postgres 
db_password: postgres 

私はconda、python 3.8でWindows 10を使用しています。

私が欠けているものを知っていますか?ティア

4

1 に答える 1