frostming / unearth

A utility to fetch and download python packages
https://unearth.readthedocs.io
MIT License
141 stars 18 forks source link

fix: include useful message if VCS command not found #66

Closed xzmeng closed 1 year ago

xzmeng commented 1 year ago

When the command such as git was not found, the error message is not clear at first glance on Windows:

FileNotFoundError: [WinError 2] The system cannot find the file specified

This PR tries to make it explicit:

[FileNotFoundError]: Unable to find executable `git`, make sure it's installed in PATH.

https://github.com/pdm-project/pdm/issues/2209