which('vagrant') returns none
Firesphere opened this issue · comments
Simon Erkelens commented
As of today, the which command suddenly returns none, Vagrant 1.8.4
I have no idea what changed, yesterday it worked.
Todd DeLuca commented
Hmm. I installed Vagrant 1.8.4 and the python-vagrant which
function works for me on Mac OS X 10.11.5.
$ python -c 'import vagrant; print vagrant.which("vagrant")'
/usr/local/bin/vagrant
Simon Erkelens commented
Ok. Problem found...
Apparently, /usr/local/bin wasn't in my environment variables anymore. Strange, but fixed it. Thanks for your time!