Skip to content

[UX] Clarification: hatch --version throws error on Windows OS #271

Open
@sn3hay

Description

@sn3hay

Description
Reference: https://www.pyopensci.org/python-package-guide/tutorials/get-to-know-hatch.html
After installing the Hatch, if the path where pipx puts these applications is not on the PATH environment variable, then it is required to run pipx ensurepath to automatically add it or manual modification of the PATH is required.

Steps to Reproduce
After installing Hatch on Windows OS run
hatch --version

Expected Behavior
The hatch version command should be recognized and return the version.

Actual Behavior
The error message - 'hatch' is not recognized as an internal or external command, operable program or batch file.

Solution
Run pipx ensurepath
Reopen command line and run hatch --version
This should now return the version of Hatch installed.

This is not a bug report but rather clarification that would ease the installation of Hatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    pyconus-24

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions