2
1
I'm learning Python and most tutorials recommend to install Python using homebrew so I installed homebrew then I typed:
brew install python
which should overwrite OS X Python 2.7.10 with 2.7.11 but I think it didn't and when I enter:
brew doctor
I get:
Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. Consider setting the PATH for example like so echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile
What should I do? Should I uninstall everything and start over?
the export command didn't work, brew doctor show same message even after restarting terminal session – Steven – 2016-03-11T12:14:58.943
entered export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile and hit enter – Steven – 2016-03-11T12:18:14.280
i entered brew doctor to check after i reopened the terminal and it shows the same message – Steven – 2016-03-11T12:39:51.157
'/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' – Steven – 2016-03-11T13:15:17.550
it shows nothing..i opened it with texteditor and it was empty – Steven – 2016-03-11T13:22:12.963
.bash_profile now contains
export PATH="/usr/local/sbin:$PATH"
, wrong? – Steven – 2016-03-11T13:37:13.837thanks it worked, but should't the .bash_profile contain only the path not
export PATH =
? – Steven – 2016-03-11T13:44:03.557it doesn't hurt – techraf – 2016-03-11T14:07:35.923