Closed jrb-github closed 1 year ago
Thank you for opening an issue and bringing this to my attention. You are absolutely right; there shouldn't be any import issues after installing the package.
The Html2Image version 2.0.2 wheel file was built using the development branch instead of the master branch, which is quite an unfortunate error on my part. I just released a 2.0.3 version that uses the correct files.
I apologize if this just my own misunderstanding of how things work, but here is what I'm seeing:
On a new python 3.11.2 install, if I
pip install html2image
, thenimport html2image
, I get this error:If I
pip install html2image==2.0.1
, this goes away. If Ipip install html2image==2.0.2
andpip install requests
, it also goes away.I think
pip install html2image
should cause all the things it depends on to also get installed, and it seems like it doesn't.