Closed
Description
Description
After running cz init
and choosing to use a pre-commit hook, we'll encounter the following error.
Failed to install pre-commit hook.
pre-commit is not installed in current environment.
Steps to reproduce
1 Run cz init
2. Choose to use pre-commit
Current behavior
Failed to setup pre-commit hook
Desired behavior
Setup pre-commit hook successfully
Screenshots

Environment
Commitizen Version: 3.2.1
Python Version: 3.10.6 (main, Sep 14 2022, 23:12:02) [Clang 14.0.0 (clang-1400.0.29.102)]
Operating System: Darwin