bottle-mongodb-example icon indicating copy to clipboard operation
bottle-mongodb-example copied to clipboard

Pil import, prerequisites

Open bitmole opened this issue 14 years ago • 1 comments

Stuart, PIL appears to have installation packaging issue, which broke the sample in my environment. Please see https://code.djangoproject.com/ticket/6054 for details. I also updated the list of prerequisites to facilitate running the project for newbies.

bitmole avatar Dec 24 '11 19:12 bitmole

FYI - from pymongo.objectid import ObjectId The call seems to work in versions of PyMongo < 2.2 In pymongo 2.2 the call to import objectid is: from bson.objectid import ObjectId http://stackoverflow.com/questions/10579704/importerror-no-module-named-objectid Also, mako dependency - pip install mako

mftdev avatar Feb 23 '14 01:02 mftdev