Replies: 2 comments
-
Hi @gsutton57 , sorry to hear you’re having installation issues! It is possible that your system has two Python installations one with Anaconda and one directly, so when you are pip installing Streamlit, it is being installed in the site package of python rather than Anaconda’s Python interpreter. Could you run |
Beta Was this translation helpful? Give feedback.
-
Hi @gsutton57 . Sorry to see if you are having an installation issue. Also regarding the paths, I think that should not be a problem since the latest Anaconda version has obliterated the inclusion of paths in the environmental variable for the admin use version. I would suggest that you try creating a virtual environment and then try installing streamlit there - using the anaconda prompt will be easier for that. As @melih-unsal said, it might be due to a conflicting python version issue. I guess using a virtual environment might help in tackling that. |
Beta Was this translation helpful? Give feedback.
-
PS C:\DemoGPT> streamlit run src/prompt_based/app.py
streamlit : The term 'streamlit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
I have added all the paths, I think? Is there some extra setup that is needed before running? I have also tried running it is codespace and got this error
@gsutton57 ➜ /workspaces/DemoGPT (main) $ streamlit run src/prompt_based/app.py
bash: streamlit: command not found
@gsutton57 ➜ /workspaces/DemoGPT (main) $ dir
CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md assets docs requirements.txt src
@gsutton57 ➜ /workspaces/DemoGPT (main) $
Beta Was this translation helpful? Give feedback.
All reactions