ImportError: No module named htmlmin.minify

3.6k views Asked by At

Command:

python3 pgadmin4-1.1/web/setup.py

Error:

ImportError: No module named 'htmlmin.minify'

I had a similar problem with htmlmin module, but I solved with:

sudo pip3 install htmlmin

Any suggestion? Thanks.

2

There are 2 answers

0
alditis On BEST ANSWER

I solved with:

sudo pip3 install django-htmlmin

Thanks

0
Murtuza Z On

Every time you pull new code make sure to run

pip3 install -r pgadmin4-1.1/requirements_py3.txt