Re: [gtk-osx-users] "env: python2: No such file or directory"




On May 1, 2017, at 9:07 AM, John Ralls <jralls ceridwen us> wrote:


On May 1, 2017, at 8:25 AM, David Lowe <doctorjlowe twc com> wrote:

     A fresh install on ElCap gives the above error message:

[gtk@Daves-i7:bin]$ ./jhbuild bootstrap
env: python2: No such file or directory

     after some digging i found this solution:

sudo ln -sf /usr/bin/python2.7 /usr/local/bin/python2

     Shouldn’t this be added to the wiki?

Apple doesn't respect that /usr/local isn't part of the distribution, so better to put the link in 
~/.local/bin with the rest of the jhbuild stuff. Rather than putting it in the wiki I'll just add creating 
the link to gtk-osx-build-install.sh.

Hmm, it's already in gtk-osx-build-setup.sh. Do you not have ~/.local/bin on your path as 
gtk-osx-build-setup.sh recommended?

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]