osx - OS X 10.10: Errors in locating and using brew and Git -


last time when using brew , git, couple of weeks ago, working fine. now, however, when type git --version in terminal

git: error: unable find utility "git", not developer tool or in path.  

i have git folder in /usr/local directory though ...

if try brew update, same error, plus

error: failure while executing: git init.  

brew install git results in:

clang: error: unable find utility "clang", not developer tool or in path otool: error: unable find utility "otool", not developer tool or in path error: failure while executing: /usr/bin/otool -l /usr/bin/install_name_tool 

so, apparently, wrong git (and brew?) installation or @ least path.

if provide path manually entering

export path=/usr/local/git/bin:$path 

in terminal , ask git version, correct output:

git version 2.3.5

can tell me what's going wrong here or how can fix path git , brew in order work again?

omg, figured out! there 1 thing did 2 weeks ago: installed python 3.4 , uninstalled python 2.7 preinstalled on os x. , found out python 2.7 vital xcode, installed again.

now both python versions on system, not xcode work without complaint again brew doesn't produce errors anymore either ...


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -