Python Pylons Dependency Error
===

I'm trying to install reddit which uses pylons and I got the following error:

  

      File "/usr/local/bin/paster", line 9, in <module>
        load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
      File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 84, in run
        invoke(command, command_name, options, args[1:])
      File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 123, in invoke
        exit_code = runner.run(args)
      File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 218, in run
        result = self.command()
      File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 276, in command
        relative_to=base, global_conf=vars)
      File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 313, in loadapp
        **kw)
      File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 204, in loadapp
        return loadobj(APP, uri, name=name, **kw)
      File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 225, in loadobj
        return context.create()
      File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 625, in create
        return self.object_type.invoke(self)
      File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 110, in invoke
        return fix_call(context.object, context.global_conf, **context.local_conf)
      File "/usr/lib/pymodules/python2.7/paste/deploy/util/fixtypeerror.py", line 57, in fix_call
        val = callable(*args, **kw)
      File "/home/reddit/reddit/r2/r2/config/middleware.py", line 542, in make_app
        load_environment(global_conf, app_conf)
      File "/home/reddit/reddit/r2/r2/config/environment.py", line 54, in load_environment
        config['pylons.g'] = app_globals.Globals(global_conf, app_conf, paths)
      File "/home/reddit/reddit/r2/r2/lib/app_globals.py", line 154, in __init__
        self.cassandra = pycassa.connect_thread_local(self.cassandra_seeds)
    AttributeError: 'module' object has no attribute 'connect_thread_local'

I think this is something related to pylons dependency Am I correct? can anyone help?

Thanks,

