It looks like the dependency for the Python library ‘flask_bcypt’ was not installed. I’d suggest re-trying to pip install the requirements.txt file or manually installing the (pip install) the flask_bcrypt library.
Thanks, it worked but I am getting another error now.
from bson import json_util, ObjectId
ModuleNotFoundError: No module named ‘bson’ please assist
It appears you are also missing the ‘pymongo’ library for your Python installation, rather than deal with a sequence of missing module errors, I’d suggest you investigate your local Python environment (for example, pip list at the terminal prompt) and then compare these to the required module (and version) list within the file ‘requirements.txt’.
Please ensure that you have all of the modules with the specific version from ‘requirements.txt’ installed as this will avoid further Python module errors.
I did that and it is working fine now, thanks for help.
That’s great @Pratap_Nayadkar, enjoy the rest of the course and if you have any more issues or questions, please feel free to post a new topic and we can work with you to address them.
Good luck with the course and kindest regards,