apache / apache/datafusion

Datafusion-cli installation problem

Open
#17,895 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

Hi,

I have been trying to get `datafusion-cli` installed via `cargo install datafusion-cli` on PowerShell but kept getting the error:
`CMake Error at CMakeLists.txt:13 (project): Failed to run MSBuild command to get the value of VCTargetsPath`

Would like to check the requirements to get it installed or if anyone could point out what could have gone wrong.

OS: Windows 11 Enterprise 10.0.22631 Build 22631 (x64-based)
Rust: v1.90.0
MS Visual Studio Build Tools: 2022 (v17.5.2) - everything under Desktop development with C++ is checked
Kitware CMake: v3.29.9

_For your info: I can work on my Rust project just fine, so I presume my MS Visual Studio Build Tools are installed correctly._

Thanks.

Contributor guide

Open the contributing guide

Research direction

Reproduce `cargo install datafusion-cli` on the reported Windows and PowerShell setup, starting with the `CMakeLists.txt:13` failure and the MSBuild `VCTargetsPath` error. Check the stated Rust, Visual Studio Build Tools, and CMake requirements against the installation path. Done means the CLI installs successfully or the issue documents a verified requirement or actionable cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, powershell, rust
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.