I installed python3 by pyenv, and set the global version to py3, so when I run "python --version" in shell, I'll get "Python 3.7.0"
but when I use a py script for pre-commit hooks, this script is run by py2, how can I make sure the python env to py3?
Hi, welcome to the Community,
This is a forum for Atlassian products, but I'm not sure if you're using any of our products, or you just have a question about Python?
If your question is related to one of our products, can you specify which one are you using and maybe send some screenshots so we can see the problem you're facing?
Otherwise, you'll have more chances of getting help with your question if you post it to a different kind of forum, like Stackoverflow for example ;)
let us know if there's anything we can do for you!
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.