When I try to install datacube-explorer v2.5.4 after extract it to a directory, enter the directory, and pip install . I have this error

enter image description here

  • Did you try cloning the repository and installing from the cloned copy instead? setuptools-scm is probably looking for git tags. Commented Aug 12, 2021 at 22:34
  • 1
    Please cut&paste error messages into the body of your Question. Posting a red-on-black image doesn't allow many to read, much less others to search for your Question.
    – Vince
    Commented Aug 12, 2021 at 22:46

1 Answer 1


The information it's showing in the error message is correct:

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

It currently needs to be installed via a Git checkout rather than a tarball due to our usage of setuptools-scm, which reads the version information from Git on install.


git clone https://github.com/opendatacube/datacube-explorer.git
cd datacube-explorer
pip install .

(we should probably make this more obvious in the readme. We do plan to push it to PyPi eventually to make install even easier)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.