Problems with deployment

[19:03:22] ❗️ installer returned a non-zero exit code

Hello there,

I am getting these prompt errors and I don’t really know what might be wrong

I have added a environment.yml file, together with a README.md

:exclamation: installer returned a non-zero exit code
:exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
:exclamation: Streamlit server consistently failed status checks
:exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

I cannot disclose the script, but if needed can elaborate a minimum example with say pandas

Thank you!

Can you share the app link?

I cannot disclose the script, but tomorrow CEST timezone will elaborate a minimum example with say pandas

Thank you!

If you’re unable to share your code or requirements file that’s causing the issue, there’s very little we can do to help.

Hello to all:

Here’s the link to my repository with the minimum example.

app

environment

repository

Error

[14:38:07] ❗️ installer returned a non-zero exit code
[14:38:07] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

Thank you,
Enrique

Hi Caroline, you can see the code below. Thanks

Hi, you can see the code below. Thanks

Hi @enrique.garciafranco,

I forked your code and deployed it, and it looks like the memory usage is spiking past the limit when your app tries to install the requirements – so that is likely what’s causing the error. I would recommend going through the list of packages and taking out anything that you aren’t actually using.

If there are memory issues when installing the requirements, using the standard packages instead of the intel/mkl ones might help.

Hi @Caroline:

Thank you for taking the time to look at it.

I’d have never been able to find it on my own.

The only way I see to reduce the memory is by importing the minimum packages, instead of

from reaktoro import *

Do you think this could do?

We need reaktoro and streamlit, pandas might be negligible (as it is already within the dependencies of reaktoro)

Thank you again,
Enrique

Hi @Goyo:

Thank you, although we need reaktoro for sure. It is only hosted in conda-forge

That is the main point of the script. It is meant to be a widget for deprived areas to have access to water production design tools

Let’s see if there anything I could do on my side. Thank you for being responsive

Best,
Enrique

Good morning, @Caroline

I don’t mean to spam you. It is just morning time here on Europe

I have tried creating an environment with just streamlit and reaktoro

Seems like the memory still runs out. Some packages remain uninstalled

I will see what I can do on my end. Maybe a little bit of extra memory for the apps could do?

Do you see this any feasible?

Thank you and have a good one,
Enrique

Hi @enrique.garciafranco,

I would definitely recommend reducing the number of packages you’re using if possible or cutting out some of the larger packages if you’re not using them. Unfortunately we aren’t offering paid Streamlit Community Cloud plans at this time.

Caroline