Installing mgo for OSX Mavericks
Download Bazaar for OSX via one of the application bundles they have: http://wiki.bazaar.canonical.com/MacOSXDownloads#Application_Bundles
CTRL + double click the .dmg to install it as OSX will not trust the download if you attempt to install it normally.
Now, if you attempt to run
go get labix.org/v2/mgo
you may find an error regarding some issue with a Python related env variable. Therefore...Add
/usr/local/bin/bzr
to yourPYTHONPATH
env variableEdit
/usr/local/bin/bzr
and change the first line#!/usr/bin/python
to#!/usr/bin/python2.6
go get labix.org/v2/mgo
should now work fine
Written by Nick Manning
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mavericks
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#