Install failed #10

barmstrong opened this Issue Mar 21, 2013 · 1 comment


None yet

2 participants


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.

I then tried sudo pip install dex and got this with errors:

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://
Traceback (most recent call last):
  File "/usr/local/bin/dex", line 184, in <module>
  File "/usr/local/bin/dex", line 160, in main
    return md.analyze_profile()
  File "/Library/Python/2.7/site-packages/dex/", line 135, in analyze_profile
    connection = pymongo.Connection(self._db_uri,document_class=OrderedDict)
  File "/Library/Python/2.7/site-packages/pymongo/", line 180, in __init__
    max_pool_size, document_class, tz_aware, _connect, **kwargs)
  File "/Library/Python/2.7/site-packages/pymongo/", 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.

eguven commented Mar 21, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment