[Slackbuilds-users] Anki ModuleNotFoundError

Daniel Mackle gerswing at gmail.com
Sat May 21 05:52:18 UTC 2022


Dave,

That is it.  Propose removing Markdown from the  dependencies for anki.  I
removed Markdown and reinstalled python-markdown and it works fine.

Thank you.

V/R

Dan

On Sat, May 21, 2022 at 2:39 PM Dave Woodfall <dave at slackbuilds.org> wrote:

> On 21/05/22 14:05,
> Daniel Mackle <gerswing at gmail.com> put forth the proposition:
> > I have run into an error with anki since I upgraded to Slackware 15.0.  I
> > have re-installed all of the dependencies and still get the same error.
> > This includes and up to the latest version on Slackbuilds.  I have
> searched
> > the web, SBo mailing list archives, Anki mailing list, etc. and still
> have
> > not been able to resolve.  If anyone has any ideas, please let me know.
> > Anki builds just fine, but when I try to run I get the following error:
> > Traceback (most recent call last):
> >  File "/usr/bin/anki", line 5, in <module>
> >    from aqt import run
> >  File "/usr/lib64/python3.9/site-packages/aqt/__init__.py", line 39, in
> > <module>
> >    import anki.lang
> >  File "/usr/lib64/python3.9/site-packages/anki/lang.py", line 12, in
> > <module>
> >    import anki._backend
> >  File "/usr/lib64/python3.9/site-packages/anki/_backend/__init__.py",
> line
> > 11, in <module>
> >    from markdown import markdown
> >  File "/usr/lib64/python3.9/site-packages/markdown/__init__.py", line 35,
> > in <module>
> >    from .__version__ import version, version_info  # noqa
> > ModuleNotFoundError: No module named 'markdown.__version__'
> > I believe it may have something to do with Python2.7/Python3.9, but I am
> > not sure.  Thank you in advance for any advice.  I do have Markdown
> > installed.
> > V/R
> > Dan
>
> It looks like Markdown (python2) might be conflicting slightly with
> the stock python-markdown (python3) package.
>
> Can you try uninstalling Markdown and reinstalling python-markdown to
> see if it helps?
>
> --
> Dave
>
> sbo-maintainer-tools:
> https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/
> SBo templates:
> https://slackbuilds.org/templates/
> How to format github downloads:
> https://slackbuilds.org/GITHUB_URLs.txt
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220521/478282a4/attachment-0001.htm>


More information about the SlackBuilds-users mailing list