Hello ,i facing issue with hosting my streamlit app


Help…

May 20 08:34:32 AM ==> Cloning from GitHub - Ritesh17rb/Green-Delight-Smart-Crop
May 20 08:34:32 AM ==> Checking out commit fa313b59aa55e52d9e55dd360b2b247285bb826c in branch master
May 20 08:34:36 AM ==> Using Python version: 3.7.10
May 20 08:34:40 AM ==> Running build command ‘pip install -r requirements.txt’…
May 20 08:34:41 AM ERROR: Could not find a version that satisfies the requirement matplotlib==3.7.1 (from -r requirements.txt (line 1)) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1, 3.5.2, 3.5.3)
May 20 08:34:41 AM ERROR: No matching distribution found for matplotlib==3.7.1 (from -r requirements.txt (line 1))
May 20 08:34:41 AM WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available.
May 20 08:34:41 AM You should consider upgrading via the ‘/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip’ command.
May 20 08:34:41 AM ==> Build failed :disappointed:

Hi Ritesh,

I believe this is occurring because matplotlib 3.7.1 require Python>=3.8, and you are using 3.7.10 (The current Render default). The last version of matplotlib that required Python 3.7 was 3.5.3.

You can try upgrading Python to 3.8 by setting PYTHON_VERSION or downgrading matplotlib to 3.5.3.

Regards,
Keith

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.