StanislavYatsevich / Store_Sales

The project is aimed at stores' sales prediction
0 stars 0 forks source link

Streamlit run is not working #7

Open astraszab opened 3 months ago

astraszab commented 3 months ago

I'm trying to run streamlit as described in README: streamlit run streamlit_app.py

Getting the error below: streamlit: command not found

StanislavYatsevich commented 3 months ago

Probably your Streamlit command-line tool is not installed or not accessible from your current command line environment. First make sure that you are trying to run it from the folder with streamlit_app.py file. Then try using poetry add streamlit command to add streamlit to your project environment and check its version with streamlit --version command

astraszab commented 2 months ago

It seems that streamlit is already installed:

~/projects/Store_Sales/src/store_sales$ poetry add streamlit
The following packages are already present in the pyproject.toml and will be skipped:

  - streamlit

If you want to update it to the latest compatible version, you can use `poetry update package`.
If you prefer to upgrade it to the latest available version, you can use `poetry add package@latest`.

Nothing to add.

I'm still getting 'command not found' error when running streamlit run streamlit_app.py and streamlit --version