error - no module named bson

Traceback (most recent call last):
File “”, line 1, in
from mflix.factory import create_app
File “C:\Users\GuyPython\Desktop\Mongodb\M220\mflix\”, line 9, in
from bson import json_util, ObjectId
ImportError: No module named bson

I was having the same problems with “flask” and some others, to which I installed flask and the other and it worked, but then another error appears.

If you’re having to do this, then you most likely have missed this installation step:

Please refer back to Lecture: README

1 Like