Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load extension 'mkautodoc' #35

Closed
philippkant opened this issue Jun 20, 2023 · 1 comment
Closed

Failed to load extension 'mkautodoc' #35

philippkant opened this issue Jun 20, 2023 · 1 comment

Comments

@philippkant
Copy link

philippkant commented Jun 20, 2023

Steps to Reproduce

  1. Install the package using pip: pip install mkautodoc.

  2. Include it in mkdocs.yml file under markdown_extensions:

    markdown_extensions:
      - mkautodoc
  3. Run mkdocs serve command.
    I encountered the following error message:

    ERROR - Config value 'markdown_extensions': Failed to load extension 'mkautodoc'.
    ModuleNotFoundError: No module named 'mkautodoc'
    Aborted with 1 Configuration Errors!

Additional Information

  • Operating System: Linux
  • Python Version: 3.8.0, error is also reproducable with 3.11.3
  • mkautodoc Version: 0.2.0

Please let me know if there's any other information I can provide. Thank you!

@philippkant
Copy link
Author

Solved it. It was a problem with pip. Somehow I had mkdocs and some other pip packages installed in .local/ - I uninstalled those. This helped me: https://stackoverflow.com/questions/59044844/local-pip-in-conda-environment-checks-globally-and-says-requirement-already-sati

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant