Not able to run streamlit app due to altair

I have installed streamlit==1.18.1 and streamlit-extras in my conda virtual enviornment, and is using vs code for development. I have confirmed that i am using python interpretor in my virtual enviornment.

But whenever i try to run it.
I get the following error:-

import altair as alt
ModuleNotFoundError: No module named โ€˜altairโ€™

I have tried using pip install altair and also pip install alt.

But is still getting the same error.

1 Like

Hi @Rajat_Goyal and welcome to our community!

May I ask, have you ensured that youโ€™ve installed Altair in the correct Python environment?


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.