stable_diffusion.openvino icon indicating copy to clipboard operation
stable_diffusion.openvino copied to clipboard

ModuleNotFoundError: No module named 'streamlit_drawable_canvas'

Open ghost opened this issue 2 years ago • 4 comments

File "C:\ProgramData\Miniconda3\envs\vin\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 556, in _run_script exec(code, module.dict) File "C:\Users\niy\Desktop\my things\programming\neural net\stable_diffusion.openvino\demo_web.py", line 6, in from streamlit_drawable_canvas import st_canvas

ghost avatar Oct 08 '22 19:10 ghost

I got same error when trying to run web demo (addding screenshot)

ai_three

SaeedBaig avatar Oct 12 '22 04:10 SaeedBaig

ModuleNotFoundError = pip install [module] "pip install streamlit-drawable-canvas" worked for me, for some reason streamlit-drawable-canvas isn't in the requirements.txt of this program

(& to the mods if it's possible, could you delete this or edit the filepath out of this problem after it's closed, this was made on my old account and I accidentally left my name in the filepath😅)

justhereforhelppp avatar Oct 12 '22 08:10 justhereforhelppp

python3.9 -m pip install streamlit-drawable-canvas

It fix this problem for me

dronov-dmitry avatar Oct 15 '22 20:10 dronov-dmitry

pip3 install streamlit-drawable-canvas worked for me too. Thanks for your help! By the way, I was getting one error after another (that I couldn't fix) when running Python 3.10. I had a conda environment with 3.85 in it and used that to finally get it going (apart from this one last issue.)

zos474 avatar Nov 23 '22 02:11 zos474