Skip to content

Circular import? #2

@pebneter

Description

@pebneter

Hello,

I followed the instructions and installed pycodedoc with pip.

I made this script to generate the documentation


# to modify the prompts used, you can pass a dict reflecting the prompts.toml file to the `prompts=` argument
docgen = DocGen(base_dir="./pikard") # other configurations are the same as in the CLI
docgen.generate_documentation()

But I'm getting this error:
cannot import name 'DocGen' from partially initialized module 'pycodedoc' (most likely due to a circular import)

Any idea how I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions