Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,636
Community Members
 
Community Events
185
Community Groups

[mac] hooks run python script with python2 (/usr/bin/python)

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?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 06, 2019

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events