It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

[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 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
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,907 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you