Open jonashrem opened 1 year ago
@jonashrem This was fixed with this commit but the new version of the package was not pushed to PyPi yet, hence pip install --upgrade mdv
will give you the unfixed version 1.7.4 while pip install --upgrade git+http://github.com/axiros/terminal_markdown_viewer
will make it.
I opened a PR for solving this but it shall still be pushed to PyPi by the author.
@dhondta I'm still getting the same error after running the fixed command. The message seems to show that it's still installing 1.7.4
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/axiros/terminal_markdown_viewer
Cloning https://github.com/axiros/terminal_markdown_viewer to /tmp/pip-req-build-zuvf2igl
Running command git clone --filter=blob:none --quiet https://github.com/axiros/terminal_markdown_viewer /tmp/pip-req-build-zuvf2igl
Resolved https://github.com/axiros/terminal_markdown_viewer to commit 435b6885d0237fe10a9f894375b10c1103bfaae0
Preparing metadata (setup.py) ... done
Requirement already satisfied: markdown in /home/japie/.local/lib/python3.10/site-packages (from mdv==1.7.4) (3.4.1)
Requirement already satisfied: pygments in /usr/lib/python3/dist-packages (from mdv==1.7.4) (2.11.2)
Using the argument to force reinstall helped me, at least. For further details about forcing the pip to reinstall the current version, see this StackOverflow page.
pip install --upgrade --force-reinstall git+http://github.com/axiros/terminal_markdown_viewer
With markdown-3.4.1 there is now longer etree
markdown 2.6 works fine