I am currently on a new mac with python 3.8.2 installed. I have a bitbucket repo I cloned down. When I modify a file and git add
that works fine. But when I make a git commit
I get this error message
env: python3.8: No such file or directory
My path env variable looks like this
PATH=/Users/rach/bin:/Users/rach/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
When I type whereis python3 I get
/usr/bin/python3
I cannot figure out why I can't make a git commit with python3 already installed and the location in the path
Since you're using pre-commit
, you can uninstall hooks by:
pre-commit uninstall
To install them again, run:
pre-commit install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With