Hello,
I am having error importing streamlit, but I have it installed in my virtual environment. I could import other packages from same virtual environment except for streamlit. Below is the error message,
[Running] python -u “c:\Users\Dadson\Desktop\LP4_CA\home.py”
Traceback (most recent call last):
File “c:\Users\Dadson\Desktop\LP4_CA\home.py”, line 1, in
import streamlit as st
ModuleNotFoundError: No module named ‘streamlit’
[Done] exited with code=1 in 0.132 seconds
- I have my virtual environment activated and also selected python interpreter from my virtual environment.
- I am using python and streamlit versions of 3.12.5 and 1.37.1 respectively
- I have recreated the virtual environment several times thinking it may have been corrupted but problem persists.
- I could see streamlit listed as part of the other packages when I type the command “pip list”
- I have uninstalled all packages and reinstalled packages several times
- I created a new user account to start afresh but still can’t import streamlit yet I could import other packages.
Kindly help me out.