Closed Alexey-T closed 2 years ago
on Win64 CudaText ships with Python 3.8 (old was 3.6).
https://bugs.python.org/issue42131 (i don't know if it is related)
also found the following solution: "downgrade markdown module"
pip install markdown==3.2.2
(didn't try it)
some opened issue on Markdown bug-tracker https://github.com/Python-Markdown/markdown/issues/1132
I don't like 'downgrade' way, better I wait until it's fixed.
This is a duplicate of #1132.
As I note in #1132, this has been fixed in Python 3.10. Upgrading should fix the issue.
users of CudaText have Python 3.8 preinstalled.
Unfortunately, I am not aware of any workarounds. The issue is in Python's zipimport library, not with our code. If CudaText is using zipimport then they need to support Python 3.10 (or backport zipimport from Python 3.10) to have a properly working implementation.
after user upgraded to Python 3.10 DLLs, he sees new error:
@veksha
also found the following solution: "downgrade markdown module" pip install markdown==3.2.2
do you know where do get 3.2.2 version? I cannot find it on https://pypi.org/project/Markdown/#files
Yup the trace explains that the gfm
extension (which is not our code) is trying to access markdown.util.etree
which is no longer provided. So gfm
will have to update its code to not access markdown.util.etree
and instead use:
import xml.etree.ElementTree as etree
CudaText plugin, code is here https://github.com/CudaText-addons/cuda_markdown_preview
crashes on Win64, https://github.com/Alexey-T/CudaText/issues/4293