stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

win11 install error No module named 'altair.vegalite.v4'

Open Kedaranatha opened this issue 1 year ago • 1 comments

Dear, any ideas about this install problem on windows 11. I'm following step by step https://sygil-dev.github.io/sygil-webui/docs/Installation/windows-installation/

Thank you!

"Your model file does not exist! Once the WebUI launches please visit the Model Manager page and download the models by using the Download button for each model. 2023-05-25 22:31:10.981 INFO matplotlib.font_manager: generated new fontManager Traceback (most recent call last): File "C:\Users\kedar\anaconda3\envs\ldm\lib\runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\Users\kedar\anaconda3\envs\ldm\lib\runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\Users\kedar\anaconda3\envs\ldm\lib\runpy.py", line 111, in get_module_details import(pkg_name) File "C:\Users\kedar\anaconda3\envs\ldm\lib\site-packages\streamlit_init.py", line 57, in from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator File "C:\Users\kedar\anaconda3\envs\ldm\lib\site-packages\streamlit\delta_generator.py", line 46, in from streamlit.elements.arrow_altair import ArrowAltairMixin File "C:\Users\kedar\anaconda3\envs\ldm\lib\site-packages\streamlit\elements\arrow_altair.py", line 35, in from altair.vegalite.v4.api import Chart ModuleNotFoundError: No module named 'altair.vegalite.v4' "

Kedaranatha avatar May 26 '23 05:05 Kedaranatha

Ran into the same issue on Linux install, was able to fix it by following this fix https://discuss.huggingface.co/t/streamlit-spaces-with-modulenotfounderror-no-module-named-altair-vegalite-v4-error/39683

jagg2 avatar May 27 '23 23:05 jagg2