Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

ERROR collecting test session _________________________________ /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) #3

Description

@MaherOMRI

Hello All,

When i run the command 'make test' i get this failure message, can any one support?
`ERROR collecting test session _________________________________
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)

:1014: in _gcd_import
???

:991: in _find_and_load
???

:961: in _find_and_load_unlocked
???

:219: in _call_with_frames_removed
???

:1014: in _gcd_import
???

:991: in _find_and_load
???

:975: in _find_and_load_unlocked
???

:671: in _load_unlocked
???

:783: in exec_module
???

:219: in _call_with_frames_removed
???

src/app/init.py:1: in
from flask import Flask

src/.venv/lib/python3.8/site-packages/flask/init.py:14: in
from jinja2 import escape

E ImportError: cannot import name 'escape' from 'jinja2' (/Users/paaaaath/python-demoapp/src/.venv/lib/python3.8/site-packages/jinja2/init.py)

==================================== short test summary info ====================================
ERROR - ImportError: cannot import name 'escape' from 'jinja2' (/Users/maher_omri/Documents/W...
!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

======================================= 1 error in 0.60s ========================================

make: *** [test] Error 2`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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