Skip to content

cargo cannot install datafusion-cli with version 5 #883

@capacman

Description

@capacman

Describe the bug
In datafusion 4 i can install datafusion-cli just by installing datafusion via cargo but now when i want to install/update datafusion it says

cargo install datafusion                 
    Updating `http://localhost:8080/index` index
  Downloaded datafusion v5.0.0 (registry `http://localhost:8080/index`)
  Downloaded 1 crate (336.4 KB) in 0.48s
error: there is nothing to install in `datafusion v5.0.0`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency in a Cargo project instead

To Reproduce
just issue command
cargo install datafusion

Expected behavior
Install datafusion-cli with command cargo install datafusion

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions