streamlit-drawable-canvas icon indicating copy to clipboard operation
streamlit-drawable-canvas copied to clipboard

AttributeError: module 'streamlit.elements.image' has no attribute 'image_to_url'

Open arkanoid87 opened this issue 1 year ago • 4 comments

New module image_utils moves image_to_url

https://github.com/streamlit/streamlit/commit/1fe7188dfbd732a7ac76c73c98f18c8eb73e5494

arkanoid87 avatar Jan 24 '25 00:01 arkanoid87

I have the same issue, did you find a solution?

edit: https://github.com/andfanilo/streamlit-drawable-canvas/issues/156 suggested downgrading streamlit to 1.40.0, this worked for me.

DvKedialog avatar Jan 24 '25 08:01 DvKedialog

Exactly

I've pinned streamlit to 1.40 for moment, but the patch should be quite easy to PR

arkanoid87 avatar Jan 24 '25 12:01 arkanoid87

Same issue, downgrading streamlit to 1.40.0 worked for me, thought was my code's problem.

PatZer0 avatar Jan 28 '25 17:01 PatZer0

Use this version.

SunOner avatar Feb 21 '25 07:02 SunOner