Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'minifier' #13

Open
klint-k opened this issue Feb 23, 2022 · 1 comment
Open

ModuleNotFoundError: No module named 'minifier' #13

klint-k opened this issue Feb 23, 2022 · 1 comment

Comments

@klint-k
Copy link

klint-k commented Feb 23, 2022

from html5print import HTMLBeautifier
Traceback (most recent call last):
File "", line 1, in
File "/home/XXXXX/.local/lib/python3.9/site-packages/html5print/init.py", line 20, in
from .jsprint import JSBeautifier
File "/home/XXXXX/.local/lib/python3.9/site-packages/html5print/jsprint.py", line 22, in
import slimit
File "/home/XXXXX/.local/lib/python3.9/site-packages/slimit/init.py", line 27, in
from minifier import minify
ModuleNotFoundError: No module named 'minifier'

@MattReimer
Copy link

Just FYI I got my developers unblocked by installing the latest git ref of slimit

pip3 install pip install git+https://github.com/rspivak/slimit.git@3533eba9ad5b39f3a015ae6269670022ab310847

I'm not sure what the long term solution is though. Seems like both html5print and slimit are no longer being actively developed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants