I have been searching for answers for the past hour, but all explanations seem to be given under the assumption that its readers are not total noobs, which I am. So please don't tell me this answer has been posted somewhere, everyone seems to be saying different things.
I'm trying to follow this tutorial. If you look here, there is someone else doing what I'm doing with the same mac version (10.8.5) and everything.
So I have to create the .bashrc file seeing as it does not exist at my ~ location (which wasn't mentioned in the tutorial at all, so I probably slipped up at this point). So I went into textEdit and created an empty .bashrc file, and just added
export PATH=/usr/local/bin:$PATH
like it says to in the tutorial. Then I move on to the next step:
$ brew install python
and I get "command not found". So this is my question – why didn't this work? I assume it has to do with my .bashrc file being empty. So I tried filling my .bashrc file with what Peter Party Bus instructed to do (here), but I'm not sure his "typical format of a .bashrc file" is word-for-word exactly what needs to go in it. And then Peter Party Bus goes on to say that I need to put some stuff in "~/.bash_profile"... I don't have that either! Should I just add that code into .profile instead? (I don't have enough rep to comment directly on his answer.) So many questions... Thanks in advance, again sorry for being noob.
Edit, solved: Syntax error. Was typing
$ brew install python
instead of
brew install python
Thanks Blender