I have installed pymongo-2.2-py2.7-linux-i686.egg and mongodb-2.0.5 on Red Hat Enterprise Linux Server release 5.6 (Tikanga). I need to update pymongo and mongodb because with these version I can't use Aggregation Framework http://docs.mongodb.org/manual/core/aggregation/ , I updated mongodb to version mongodb-linux-i686-2.4.5 but still can't use aggregation framework , it looks that I need to update pymongo. How to update pymongo, I can't use pip , easy install, apt -get and similar, don't ask me why , I need to download correct pymongo version on my windows and transfer it via ftp to server , and install it manually , can someone tell me how to do it ? Is any other way to use aggregation framework on old versions of mongo and pymongo ...
With these version , when I tried to launch django wep app, that use aggregation function , I get this error :
Exception Value:
'Collection' object is not callable. If you meant to call the 'aggregate' method on a 'Collection' object it is failing because no such method exists.
Exception Location:
/Python-2.7/lib/python2.7/site-packages/pymongo-2.2-py2.7-linux-i686.egg/pymongo/collection.py in call, line 1197
github, then upload it to your linux system - Yevgeniy Anfilofyev