i got "hg status' failed with code 127:'env: python: No such file or directory '" message when starting source tree

i delete default python installation from mountain lion and install python 2.3 via brew.But i can't use sourcetree again.python seems work ok with command line.

Edit:i mistyped 2.3 here i actually install 2.7.3 via brew but it's okay.i fix this problem via removing PATH variable from .bash_profile. (PATH=${PATH}:/usr/local/share/python)

1 answer

1 accepted

This widget could not be displayed.

Why did you delete the default install? You can have more than one version of Python installed and switch between them with environment variables / aliases.

We do not support Python 2.3, it's far too old. Python 2.6 is the minimum we've tested with (this came with Snow Leopard), Mountain Lion (and Lion) comes with 2.7.

Mac OS X GUI apps do not inherit your terminal configuration, that's why SourceTree can't see your custom Python - environment variables and the PATH are set completely differently (such as /etc/paths). But as I say, we wouldn't support using 2.3 anyway.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

868 views 2 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you