streamlit " error is not recognized as cmdlet name"

460 Views Asked by At

am trying to build a streamlit web app i have installed streamlit in my anaconda environment with the command :

conda create --name streamlit_env python=3.10 
conda activate streamlit_env
pip install streamlit

when i try conda list that show streamlit is installed but when i try to run a python file in vscode with streamlit run xxx (through my streamlit_env environment set as interpreter) i get the error below

streamlit: The term "streamlit" is not recognized as a cmdlet name, function, script file, or program 
executable. Check the spelling of the name, or if a path exists, verify that the path is correct and try again.
To the character Line:1 : 1
+ streamlit run initiation.py
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (streamlit:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

i tried to reinstall streamlit doesn't worked

0

There are 0 best solutions below