Skip to content

ModuleNotFoundError: No module named 'pypi_org' #1

Closed
@sanders41

Description

@sanders41

I'm in ch06_routing and trying to setup the blueprints. register_blueprints is throwing the error:

ModuleNotFoundError: No module named 'pypi_org' all of the imports.

For example from pypi_org.views import home_views and from pypi_org.views import package_views both cause the error. I do have a views directory inside of the pypi_org directory, and app.py is at the root of pypi_org.

Inside of the views directory the import of services does not cause this error (import pypi_org.services.package_service as package_service runs with no error).

I can't figure out why I am getting the error in the app.py file.

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