Skip to content

planet --version reports 0.0.0 under conda #1197

Description

@tbarsballe

This came up while testing the Docker environment of https://github.com/planetlabs/notebooks

Expected behavior
planet --version will report the current version of the planet CLI

Actual behavior (describe the problem)
planet --version reports 0.0.0:

$ conda run planet --version
planet, version 0.0.0

planet --help shows expected v3 commands, indicating this is incorrect:

$ conda run planet --help
Usage: planet [OPTIONS] COMMAND [ARGS]...

  Planet SDK for Python CLI

Options:
  --quiet                    Disable ANSI control output.
  --version                  Show the version and exit.
  --verbosity TEXT           Optional: set verbosity level to warning, info,
                             or debug.                  Defaults to warning.
  --auth-profile TEXT        Select the client authentication profile to use.
                             [env var: PL_AUTH_PROFILE]
  --auth-client-id TEXT      Specify the OAuth client ID.  [env var:
                             PL_AUTH_CLIENT_ID]
  --auth-client-secret TEXT  Specify the OAuth client Secret.  [env var:
                             PL_AUTH_CLIENT_SECRET]
  --auth-api-key TEXT        Specify an API key.  [env var: PL_API_KEY]
  --help                     Show this message and exit.

When installed using pip on the same system, the version is reported correctly.

Environment Information

  • Operation System Information: Ubuntu 25.04
  • Python version: 3.13.7, 3.13.3
  • Planet package version: Unknown, 3.1.0 presumed

Installation Method

  • conda

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions