Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kedaranatha opened this issue May 26, 2023 · 1 comment
Open

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

Kedaranatha opened this issue May 26, 2023 · 1 comment

Comments

@Kedaranatha
Copy link

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'
"

@jagg2
Copy link

jagg2 commented May 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants