-
-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3.7: command not found #810
Comments
what does |
|
Looks like your I haven't worked much with
|
closing this since this is likely an issue with your setup @cancan101 If it's not, feel free to comment / reopen! |
Just adding this here for anyone that comes across this issue. When you create a virtualenv using, for example, In order to make the command So, to correctly setup the virtualenv to work with pre-commit, run the command as:
This should resolve the issue reported. |
Create a symbolic link cd /Users/alex/.pyenv/versions/3.7.0/bin/
ln -s python3 python3.7 |
You're awesome. Worked like a charm |
In my case I am working with pipenv and I get this error:
I would appreciate any help. Thanks |
paste your full error message -- if it doesn't exactly match the output of OP's then it's a different issue |
Thanks |
yeah that's a completely different error message as I suspected, what does |
|
use the same version of virtualenv (the error above is from virtualenv 20.x, your output is from virtualenv<20) |
nevermind I'll do it for you |
here's the upstream issue @gvizquel -- you can work around by installing |
Thank you very much @asottile a will try it It is working as expected... |
@thomasfowler Thank you very much! I googled this about a hour, finally make it worked with your solution. |
@JackTheMico please don't bump 2 year old issues with a "thanks" message -- that's what the thumbs up button is for |
If I set
language_version: python3.7
rather thanlanguage_version: python3
, I get the following error. I am using pyenv-virtualenv:This may be related to: pyenv/pyenv-virtualenv#206
The text was updated successfully, but these errors were encountered: