bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 207 forks source link

ModuleNotFoundError: No module named 'streamlit_drawable_canvas' #83

Open ghost opened 1 year ago

ghost commented 1 year ago

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

SaeedBaig commented 1 year ago

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

ai_three

justhereforhelppp commented 1 year ago

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😅)

dronov-dmitry commented 1 year ago

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

It fix this problem for me

zos474 commented 1 year ago

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.)