Skip to content

ModuleNotFoundError: No module named 'dependency_injector' in ch03 project #6

@hhunng

Description

@hhunng

Hi sir, when I run the application of ch03 project. It shows the error as below:

from dependency_injector.wiring import inject, Provide
ModuleNotFoundError: No module named 'dependency_injector'

Although I have tried to install:

pip install dependency_injector
pip install dependency_injection
and the IDE recognize the package.

I'm using python 3.11.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions