Can't deploy

Hello, im newbee and im testing how to deploy. Streamlit blowed my mind im so excited with this, but im stuck now.

The error:

[     UTC     ] Logs for pframcharts.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[10:24:06] 🚀 Starting up repository: 'pframcharts', branch: 'main', main module: 'pframchart1.py'
[10:24:06] 🐙 Cloning repository...
[10:24:08] 🐙 Cloning into '/mount/src/pframcharts'...
Warning: Permanently added the ED25519 host key for IP address '20.29.134.23' to the list of known hosts.
[10:24:08] 🐙 Cloned repository!
[10:24:08] 🐙 Pulling code changes from Github...
[10:24:09] 📦 Processing dependencies...
[10:24:09] 📦 Apt dependencies were installed from /mount/src/pframcharts/packages.txt using apt-get.
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 https://packages.microsoft.com/debian/11/prod bullseye InRelease [3649 B]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [260 kB]
Fetched 356 kB in 0s (1044 kB/s)
Reading package lists...[2023-12-04 10:24:10.729896] 
Reading package lists...[2023-12-04 10:24:11.362868] 
Building dependency tree...[2023-12-04 10:24:11.530191] 
Reading state information...[2023-12-04 10:24:11.530592] 
E: Unable to locate package streamlit
E: Unable to locate package matplotlib.pyplot
E: Couldn't find any package by glob 'matplotlib.pyplot'
E: Couldn't find any package by regex 'matplotlib.pyplot'
E: Unable to locate package from
E: Unable to locate package openpyxl
E: Unable to locate package import
E: Unable to locate package load_workbook
E: Unable to locate package from
E: Unable to locate package io
E: Unable to locate package import
E: Unable to locate package BytesIO,
E: Unable to locate package StringIO
E: Unable to locate package import
E: Unable to locate package base64
[10:24:12] ❗️ installer returned a non-zero exit code
[10:24:12] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[10:25:47] ❗️ Streamlit server consistently failed status checks
[10:25:47] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
```[     UTC     ] Logs for pframcharts.streamlit.app/

────────────────────────────────────────────────────────────────────────────────────────

[10:24:06] 🚀 Starting up repository: 'pframcharts', branch: 'main', main module: 'pframchart1.py'

[10:24:06] 🐙 Cloning repository...

[10:24:08] 🐙 Cloning into '/mount/src/pframcharts'...
Warning: Permanently added the ED25519 host key for IP address '20.29.134.23' to the list of known hosts.

[10:24:08] 🐙 Cloned repository!

[10:24:08] 🐙 Pulling code changes from Github...

[10:24:09] 📦 Processing dependencies...

[10:24:09] 📦 Apt dependencies were installed from /mount/src/pframcharts/packages.txt using apt-get.

Hit:1 http://deb.debian.org/debian bullseye InRelease

Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]

Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

Get:4 https://packages.microsoft.com/debian/11/prod bullseye InRelease [3649 B]

Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [260 kB]

Fetched 356 kB in 0s (1044 kB/s)

Reading package lists...[2023-12-04 10:24:10.729896] 

Reading package lists...[2023-12-04 10:24:11.362868] 

Building dependency tree...[2023-12-04 10:24:11.530191] 

Reading state information...[2023-12-04 10:24:11.530592] 

E: Unable to locate package streamlit

E: Unable to locate package matplotlib.pyplot

E: Couldn't find any package by glob 'matplotlib.pyplot'

E: Couldn't find any package by regex 'matplotlib.pyplot'

E: Unable to locate package from

E: Unable to locate package openpyxl

E: Unable to locate package import

E: Unable to locate package load_workbook

E: Unable to locate package from

E: Unable to locate package io

E: Unable to locate package import

E: Unable to locate package BytesIO,

E: Unable to locate package StringIO

E: Unable to locate package import

E: Unable to locate package base64

[10:24:12] ❗️ installer returned a non-zero exit code

[10:24:12] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

[10:25:47] ❗️ Streamlit server consistently failed status checks

[10:25:47] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

I have the requirements.txt, so i do not understand.

matplotlib
matplotlib.pyplot
openpyxl
streamlit

even in beginning i ve tried without this: matplotlib.pyplot.  

link to my github.
https://github.com/Atallpa/pframcharts.git

link to the app wich is not online.
https://pframcharts.streamlit.app

What is wrong, what should i change or add to the files.?
  • remove this line from your requirements.txt file, it is not valid
  • delete the file packages.txt in your repo, this file is meant for apt packages

Oh great, thanks a lot.

It worked.

Best!

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