I'm having some problems with webpy-mongodb-sessions.
I'm using:
1. freshly compiled Python...
2. pip and virtualenv
pip install pymongo > install_log
http://paste.lisp.org/+2V7Apip install web.py > install_log:
http://paste.lisp.org/+2V7Bpip install webpy-mongodb-sessions > install_log:
http://paste.lisp.org/+2V7CI'm trying the following imports from the webpy-mongodb-sessions readme file: import web, from session import MongoStore
I get the following errors. Any ideas on what I could be doing wrong are appreciated. Thanks!!!!
(admin_setup)~/pys/admin_setup% python
Python 2.7.3 (default, Nov 14 2012, 17:00:03)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import web
>>> from session import MongoStore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named session
>>>
(admin_setup)~/pys/admin_setup% python
Python 2.7.3 (default, Nov 14 2012, 17:00:03)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import web
>>> from webpy_mongodb_sessions.session import MongoStore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/i/pys/admin_setup/lib/python2.7/site-packages/webpy_mongodb_sessions/session.py",
line 2, in <module>
from pymongo.binary import Binary
ImportError: No module named binary
>>>