error installing requierements

Please take a moment to search the forum and documentation before posting a new topic.
If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed?

  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    b. Share the link to the public deployed app.

  3. Share the link to your app’s public GitHub repository (including a requirements file).

  4. Share the full text of the error message (not a screenshot).

  5. Share the Streamlit and Python versions.

  6. I am trying to deploy the app

  7. But faced the “Error installing requirements.” error

  8. Here is the end of the message shown in the terminal:
    

    Selecting previously unselected package libspatialite-dev:amd64.

    Preparing to unpack .../128-libspatialite-dev_5.0.1-3_amd64.deb ...

    Unpacking libspatialite-dev:amd64 (5.0.1-3) ...

    Selecting previously unselected package libxerces-c-dev:amd64.

    Preparing to unpack .../129-libxerces-c-dev_3.2.4+debian-1_amd64.deb ...

    Unpacking libxerces-c-dev:amd64 (3.2.4+debian-1) ...

    Selecting previously unselected package libgdal-dev.

    Preparing to unpack .../130-libgdal-dev_3.6.2+dfsg-1+b2_amd64.deb ...

    Unpacking libgdal-dev (3.6.2+dfsg-1+b2) ...

    Selecting previously unselected package libpkgconf3:amd64.

    Preparing to unpack .../131-libpkgconf3_1.8.1-1_amd64.deb ...

    Unpacking libpkgconf3:amd64 (1.8.1-1) ...

    Selecting previously unselected package libpng-tools.

    Preparing to unpack .../132-libpng-tools_1.6.39-2+deb12u1_amd64.deb ...

    Unpacking libpng-tools (1.6.39-2+deb12u1) ...

    Selecting previously unselected package pkgconf-bin.

    Preparing to unpack .../133-pkgconf-bin_1.8.1-1_amd64.deb ...

    Unpacking pkgconf-bin (1.8.1-1) ...

    Selecting previously unselected package pkgconf:amd64.

    Preparing to unpack .../134-pkgconf_1.8.1-1_amd64.deb ...

    Unpacking pkgconf:amd64 (1.8.1-1) ...

    Selecting previously unselected package pkg-config:amd64.

    Preparing to unpack .../135-pkg-config_1.8.1-1_amd64.deb ...

    Unpacking pkg-config:amd64 (1.8.1-1) ...

    Selecting previously unselected package proj-bin.

    Preparing to unpack .../136-proj-bin_9.1.1-1+b1_amd64.deb ...

    Unpacking proj-bin (9.1.1-1+b1) ...

    Errors were encountered while processing:

    /tmp/apt-dpkg-install-1Wi2Kg/040-libodbc2_2.3.11-2+deb12u1_amd64.deb

    /tmp/apt-dpkg-install-1Wi2Kg/041-unixodbc-common_2.3.11-2+deb12u1_all.deb

    /tmp/apt-dpkg-install-1Wi2Kg/042-libodbcinst2_2.3.11-2+deb12u1_amd64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    [12:41:50] ❗️ installer returned a non-zero exit code

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