Pipx command not recognized in PowerShell (installing `pbi-cli`)
Praxisis D365 Wiki · Public reference · Client-specific details redacted
Source: Claude.ai chat (original: pipx-command-not-recognized-in-powershell__9b4072bb.md)
Added: 2026-10-02
Summary
- The PyPI package is
pbi-cli-tool(installs thepbicommand), notpbi-cli. Documented install:pipx install pbi-cli-tool. Requires Windows + Python 3.10+ + Power BI Desktop running. - Anaconda base environments often ignore
--useron pip installs. On Anaconda, preferconda install -c conda-forge pipx→pipx ensurepath→ reopen shell →pipx install pbi-cli-tool. packaging<25conflict warning with Streamlit is non-fatal — pip installs anyway. Pinpackaging<25if Streamlit is critical, otherwise ignore.
Key takeaways
- The
pbi.exeentry point lands in Python'sScriptsfolder. If not on PATH, locate viapython -m pip show -f pbi-cli-tool | Select-String "Scripts", then add the folder to the User PATH env var and reopen the shell. - Microsoft Store's "App execution alias" stubs often intercept
pythonon Windows — turn off in Settings → Apps → Advanced app settings → App execution aliases, or install viawinget install Python.Python.3.12. pbi(the CLI) andpbi-cli(the setup command forpbi-cli skills install) are two different binaries in the same Scripts folder — easy to confuse.
Learnings / how to apply
- Add a Praxisis-internal "pbi-cli bootstrap" one-pager so no consultant hits this three-step install trap on first setup.
- Prefer the
pipxpath on new machines (clean isolated env). On Anaconda-based machines, document theconda install -c conda-forge pipxdetour.
Need this applied to your own tenant?
Praxisis Sustain Self-Serve builds a private AI Wiki trained on your documents and tickets, with free Tier-2 support when the AI cannot answer. Book a 30-min overview.