(Dependency?) issue with mkdocs

I recently upgraded my mkdocs package (on the AUR, extra repo if I’m not mistaken) and it now doesn’t work. More specifically, it is telling me that there’s a ModuleNotFound error with the module ‘deepmerge’. I thought this was curious and after checking, it wasn’t installed so I installed it (it is also under the extra repo with name python-deepmerge.
I thought this would do the trick, but after closing the terminal and trying again, it gives me the same error even though this time the package is very clearly installed. Anyone has an idea what the issue is?

Welcome @mayumin. The :enos: forum is usually a bit more responsive. Maybe we don’t have anyone using mkdocs. Still, 16 days ids a long time to wait, if only to welcome you to the forum of what is IMHO is the best Arch distro.

Sorry I can’t help you with your issue, as I only found your post when searching ‘mkdocs’ here for recommendation. fyi, I settled on Gitbook for now for its ease of use, even if it has limited features. Mkdocs looks more feature-rich, and was looking at this 6 month old video.

I’m sure there are members here that document packages that could give you some help. If I get some spare time to install mkdocs on my old PC, I will post again.

Thank you for replying!
For now I fixed the issue by running a virtual environment with Python and doing things locally, but it is weird because I didn’t have this issue when I first built the website in May 2023. Something is clearly going wrong with the package itself and I am going to assume it’s an upstream issue.

1 Like

The package listed as a dependency on mkdoc’s AUR page is python-mergedeep, not python-deepmerge. Those are two different packages. The former is in the AUR, and the latter is in the extra repo.

Are you positive that the ModuleNotFound error mentioned “deepmerge” and not “mergedeep”?

I suspect that python-mergedeep, which mkdocs depends on, is not currently installed on your system. That could be why mkdocs didn’t work.

python-mergedeep in the AUR:
https://aur.archlinux.org/packages/python-mergedeep

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.