Skip to content

Module 4 step 3 not working #1

@rickhall2000

Description

@rickhall2000

I cloned the repo, to make sure the issue wasn't a typo I made. I run docker compose up on module 4 step 3 and the product service container exits. This is what I see in the logs for the container:

  File "/code/./app.py", line 1, in <module>
    from flask import Flask, jsonify, request
  File "/usr/local/lib/python3.10/site-packages/flask/__init__.py", line 14, in <module>
    from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.10/site-packages/jinja2/__init__.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions