How should my requirements.txt look like?

Hi there,

I am getting an error when trying to deploy my streamlit app. The error relates to my dependecies. Can someone help me with how my requirements.txt document should look like?

p.s. I have already tried using an environment.yml but to no avail.

These are my packages:

import streamlit as st
import pandas as pd
import matplotlib.pyplot as plt
from io import BytesIO

This is mine

1 Like

Thanks Rene,

I feel io is the problem in my case maybe it should be in package.txt instead of requirements.txt.

1 Like

I should’ve read the documentation better. ‘io’ should not be part of the requirements doc. Works perfectly now.

1 Like