I have installed streamlit on my windows 10 with the latest version of anaconda with pip. I confirmed the installation by launching streamlit using streamlit hello. But when i want to import streamlit in vs code or idle shell, it gives this error:
Traceback (most recent call last): File "C:\Users\HP\AppData\Local\Programs\Python\Python310\website2.py", line 1, in import streamlit as st ModuleNotFoundError: No module named 'streamlit'