I'm having some trouble getting it installed. I originally tried pip install dex but it didn't end up in my path afterwards. And running it from build/dex/bin/dex gave a permission denied.
pip install dex
I then tried sudo pip install dex and got this with errors: https://gist.github.com/barmstrong/5a67ac1417fed7488b82
sudo pip install dex
dex is now in my path but I'm guessing it didn't install correctly. When I try to run it I get errors:
$ dex -p mongodb://USERNAME:PASSWORD@mydburl.mongolab.com:12345/my_db
Traceback (most recent call last):
File "/usr/local/bin/dex", line 184, in <module>
File "/usr/local/bin/dex", line 160, in main
File "/Library/Python/2.7/site-packages/dex/dex.py", line 135, in analyze_profile
connection = pymongo.Connection(self._db_uri,document_class=OrderedDict)
File "/Library/Python/2.7/site-packages/pymongo/connection.py", line 180, in __init__
max_pool_size, document_class, tz_aware, _connect, **kwargs)
File "/Library/Python/2.7/site-packages/pymongo/mongo_client.py", line 278, in __init__
raise ConfigurationError("authentication failed")
ConfigurationError: authentication failed
Any ideas? This is on max os. I have the default install python 2.7.2 which is prob a bit old. A homebrew install would make things easier, but just one idea.
Try to connect to a local mongod without authentication, the traceback looks like an authentication error.
Do you have Xcode Command-Line Tools installed? Also I advise you to try this in virtualenv.