ImportError on py38 #1003
-
I try to run 0.130 version on python 3.8 and get ImportError Has anyone encountered it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @KlimovArtem, what does the error say? But looks like this is related to https://github.com/django-components/djc-core-html-parser For post-processing HTML, we wrote own parser in Rust, built with maturin and pyo3. With this setup, the djc-core-html-parser needs to be compiled for each architecture separately. Out of the box, Maturin / PyO3 already support quite a few - see here all the different architectures for which the package is built. Looking through the list, there's two wheels built for Windows for Python 3.8: I see from the screenshot that you're on Windows. What processor do you have? (also see this thread) I'm afraid you'll have to look into this yourself, since it might be machine-specific issue. Steps to troubleshoot:
|
Beta Was this translation helpful? Give feedback.
Hi @KlimovArtem, what does the error say? But looks like this is related to https://github.com/django-components/djc-core-html-parser
For post-processing HTML, we wrote own parser in Rust, built with maturin and pyo3. With this setup, the djc-core-html-parser needs to be compiled for each architecture separately.
Out of the box, Maturin / PyO3 already support quite a few - see here all the different architectures for which the package is built.
Looking through the list, there's two wheels built for Windows for Python 3.8:
I see from the screenshot that you're on Windows. What processor do y…