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

mkdocs build error: No module named 'packaging' #179

Closed
jasminnancy opened this issue Sep 7, 2023 · 2 comments
Closed

mkdocs build error: No module named 'packaging' #179

jasminnancy opened this issue Sep 7, 2023 · 2 comments
Labels
bug Something isn't working fixed A fix has been submitted

Comments

@jasminnancy
Copy link

I kept getting this error:

File "/usr/local/lib/python3.9/site-packages/mkdocs_macros/util.py", line 10, in <module>
    from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'

My mkdocs kept failing after the addition of this line:
https://github.com/fralau/mkdocs_macros_plugin/blob/9dba19e3ec0dfce7761eee32dfda4dca6cd312af/mkdocs_macros/util.py#L10

The resolution was just to add packaging to my requirements.txt file.
An easy fix, but annoying nonetheless.

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Welcome to this project and thank you!' first issue

@fralau fralau added the bug Something isn't working label Oct 20, 2023
@fralau fralau added the fixed A fix has been submitted label Oct 31, 2023
@fralau
Copy link
Owner

fralau commented Oct 31, 2023

Thanks for the heads up.

Updated on git. It will be on pypi with next tagged version.

@fralau fralau closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed A fix has been submitted
Projects
None yet
Development

No branches or pull requests

2 participants