Hi @emal
From the data you posted, my guess is that when you pip-installed Streamlit you weren’t inside your Conda environment. I say this because your Streamlit was installed in ~/.local/lib/...
rather than in ~/anaconda3/envs/...
.
So try this:
# Remove Streamlit from your local Python installation.
conda deactivate
pip uninstall streamlit
# Activate the Conda environment and install Streamlit.
conda activate envName # Replace with the name of your environment
pip install streamlit